water-hole / ansible-operator

POC Code for the operator backed by ansible
48 stars 29 forks source link

Fix build by removing unused import #6

Closed ehelms closed 6 years ago

ehelms commented 6 years ago

When trying to build locally (I'm new to Go so possible I am missing something locally) I hit the following output:

ehelms@war ansible-operator (master)$ operator-sdk build quay.io/ehelms/ansible-operator
Error: failed to build: (building ansible-operator...
# github.com/automationbroker/ansible-operator/cmd/ansible-operator
cmd/ansible-operator/main.go:7:2: imported and not used: "os"
cmd/ansible-operator/main.go:8:2: imported and not used: "path/filepath"
cmd/ansible-operator/main.go:21:2: imported and not used: "github.com/automationbroker/ansible-operator/vendor/k8s.io/client-go/rest"
cmd/ansible-operator/main.go:22:2: imported and not used: "github.com/automationbroker/ansible-operator/vendor/k8s.io/client-go/tools/clientcmd"
)