openconfig / kne

Apache License 2.0
214 stars 64 forks source link

KNE build failure #462

Closed bormanp closed 10 months ago

bormanp commented 10 months ago

Running "go build" in the main directory I get the following error:

$ go build
# go.universe.tf/metallb/api/v1beta2
../../../../pkg/mod/go.universe.tf/metallb@v0.13.5/api/v1beta2/bgppeer_webhook.go:39:27: cannot use &BGPPeer{} (value of type *BGPPeer) as admission.Validator value in variable declaration: *BGPPeer does not implement admission.Validator (wrong type for method ValidateCreate)
        have ValidateCreate() error
        want ValidateCreate() (admission.Warnings, error)
bormanp commented 10 months ago

This was in the controller/server directory, not the main directory. In any event it fails on MacOS but builds on Linux.