Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

payment build error #33

@macedemo

Description

@macedemo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions