Skip to content

Commit

Permalink
address suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Camila Macedo committed Nov 13, 2020
1 parent 46df250 commit 4827723
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# release notes and/or the migration guide
entries:
- description: >
(go/v2) Fix `create api` when only the controller is created.
More info: https://github.com/kubernetes-sigs/kubebuilder/pull/1770
(go/v2) Fixed controller imports scaffolded by `create api` when `--resource=false`
([kubebuilder#1770](https://github.com/kubernetes-sigs/kubebuilder/pull/1770))
kind: "bugfix"
breaking: false
5 changes: 1 addition & 4 deletions internal/plugins/golang/v2/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ var (

var (
_ plugin.Plugin = Plugin{}
_ plugin.Init = Plugin{}
_ plugin.CreateAPI = Plugin{}
_ plugin.CreateWebhook = Plugin{}
_ plugin.Edit = Plugin{}
_ plugin.Full = Plugin{}
)

// Plugin defines an Operator SDK Go scaffold and CLI plugin. Its current purpose is to
Expand Down

0 comments on commit 4827723

Please sign in to comment.