You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
Well I think the readme is a bit off on what you need to go get as needed to go get a lot of packages that where missing to perform the build. The one I got an error on and it's weave works:
$ go get github.com/weaveworks/common/middleware
github.com/weaveworks/common/logging
github.com/weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook: promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method)
have Fire("github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error
want Fire("github.com/sirupsen/logrus".Entry) error
and if you try to build payment get the same error:
$ go build -o payment
github.com/weaveworks/common/logging
../../../../weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook: promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method)
have Fire("github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error
want Fire("github.com/sirupsen/logrus".Entry) error
The text was updated successfully, but these errors were encountered:
pfandzelter
added a commit
to pfandzelter/payment
that referenced
this issue
May 5, 2020
`gvt` is deprecated, Go modules are the way to go. Fortunately `go mod` understands `gvt` manifests so building the project is easy now.
Fixesmicroservices-demo#32 and microservices-demo#33
Well I think the readme is a bit off on what you need to go get as needed to go get a lot of packages that where missing to perform the build. The one I got an error on and it's weave works:
$ go get github.com/weaveworks/common/middleware
github.com/weaveworks/common/logging
github.com/weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook:
promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method)
have Fire("github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error
want Fire("github.com/sirupsen/logrus".Entry) error
and if you try to build payment get the same error:
$ go build -o payment
github.com/weaveworks/common/logging
../../../../weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook:
promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method)
have Fire("github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error
want Fire("github.com/sirupsen/logrus".Entry) error
The text was updated successfully, but these errors were encountered: