Skip to content

Commit

Permalink
Rename admission webhooks to avoid name collision (#725)
Browse files Browse the repository at this point in the history
fixes #723
  • Loading branch information
Dipta Das authored and tamalsaha committed Apr 4, 2019
1 parent d631bb9 commit 859c4ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions root.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"k8s.io/kubernetes/pkg/api/legacyscheme"
"kmodules.xyz/client-go/logs"
"kmodules.xyz/client-go/tools/cli"
ocscheme "kmodules.xyz/openshift/client/clientset/versioned/scheme"
)

func NewRootCmd() *cobra.Command {
Expand All @@ -30,6 +31,8 @@ func NewRootCmd() *cobra.Command {

scheme.AddToScheme(clientsetscheme.Scheme)
scheme.AddToScheme(legacyscheme.Scheme)
ocscheme.AddToScheme(clientsetscheme.Scheme)
ocscheme.AddToScheme(legacyscheme.Scheme)
cli.LoggerOptions = golog.ParseFlags(c.Flags())
},
}
Expand Down

0 comments on commit 859c4ee

Please sign in to comment.