kinvolk-archives / tcd

traffic control daemon
Apache License 2.0
21 stars 8 forks source link

Error go build #16

Closed alepuccetti closed 8 years ago

alepuccetti commented 8 years ago
go build -o bin/tcd -installsuffix cgo
# github.com/kinvolk/tcd/api
../.go_workspace/src/github.com/kinvolk/tcd/api/service.pb.go:184: cannot use _TcdService_InstallMethod_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
../.go_workspace/src/github.com/kinvolk/tcd/api/service.pb.go:188: cannot use _TcdService_ConfigureIngressMethod_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value
../.go_workspace/src/github.com/kinvolk/tcd/api/service.pb.go:192: cannot use _TcdService_ConfigureEgressMethod_Handler (type func(interface {}, context.Context, func(interface {}) error) (interface {}, error)) as type grpc.methodHandler in field value

go build -o bin/tcd -installsuffix cgo returned exit code 2

Action failed: go build -o bin/tcd -installsuffix cgo
alban commented 8 years ago

We need to start vendoring in the tcd project. You can use godep or glide.