Skip to content

[BUG] flagd 0.12.9/8 too many arguments in call to m.cfg.MetricRecorder.HTTPAttributes #1834

@gnesher

Description

@gnesher

Observed behavior

While trying to upgrade from 0.12.1 to 0.12.9 we ran into the following error:

feature/flagd/flagd/pkg/service/middleware/metrics
../.go-cache/pkg/mod/github.com/open-feature/flagd/[email protected]/pkg/service/middleware/metrics/http_metrics.go:71:3: too many arguments in call to m.cfg.MetricRecorder.HTTPAttributes
have (string, string, string, string, string)
want (string, string, string, string)
make[1]: *** [Makefile:312: install_flagd] Error 1
make: *** [Makefile:1096: build_cnm_go] Error 2

seems to be an intertnal mismatch between flagd and core packages unless I'm missing something

Expected Behavior

No response

Steps to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageThis issue needs to be investigated by a maintainerbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions