-
Notifications
You must be signed in to change notification settings - Fork 108
Cannot find packages errors #13
Description
Got the following errors when running: $ operator-sdk build gmflau/memcached-operator:v0.0.1
Error: failed to build: (building memcached-operator...
pkg/stub/handler.go:10:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/action" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/action (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/action (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/action (from $GOPATH)
pkg/stub/handler.go:11:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/handler" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/handler (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/handler (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/handler (from $GOPATH)
pkg/stub/handler.go:12:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/query" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/query (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/query (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/query (from $GOPATH)
pkg/stub/handler.go:13:2: cannot find package "github.com/operator-framework/operator-sdk/pkg/sdk/types" in any of:
/Users/gilbertlau/go/src/github.com/example-inc/memcached-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/types (vendor tree)
/usr/local/Cellar/go/1.9.4/libexec/src/github.com/operator-framework/operator-sdk/pkg/sdk/types (from $GOROOT)
/Users/gilbertlau/go/src/github.com/operator-framework/operator-sdk/pkg/sdk/types (from $GOPATH)
)
Looks like the PR#12 will fix this problem.