From 8fe5ed0f2cc522d22d0ca556f48f2e5922c67d3e Mon Sep 17 00:00:00 2001 From: Ritu Sood Date: Tue, 6 Aug 2019 21:42:15 -0700 Subject: Add types and generated code for CRDs Adding Network CRD and Provider Network CRD generated code as per the spec. https://wiki.onap.org/display/DW/K8s+Plugin+Network+Related+CRD%27s+for+R5 Change-Id: If75885205830cf2cef197754ea8f00b61095a4a1 Signed-off-by: Ritu Sood --- cmd/nfn-operator/nfn-operator.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cmd/nfn-operator') diff --git a/cmd/nfn-operator/nfn-operator.go b/cmd/nfn-operator/nfn-operator.go index 2925ac6..4749506 100644 --- a/cmd/nfn-operator/nfn-operator.go +++ b/cmd/nfn-operator/nfn-operator.go @@ -10,7 +10,7 @@ import ( _ "k8s.io/client-go/plugin/pkg/client/auth" "github.com/spf13/pflag" -// "ovn4nfv-k8s-plugin/pkg/apis" + "ovn4nfv-k8s-plugin/pkg/apis" "ovn4nfv-k8s-plugin/internal/pkg/ovn" "ovn4nfv-k8s-plugin/pkg/controller" "sigs.k8s.io/controller-runtime/pkg/client/config" @@ -71,10 +71,10 @@ func main() { log.Info("Registering Components.") // Setup Scheme for all resources - //if err := apis.AddToScheme(mgr.GetScheme()); err != nil { - // log.Error(err, "") - // os.Exit(1) - //} + if err := apis.AddToScheme(mgr.GetScheme()); err != nil { + log.Error(err, "") + os.Exit(1) + } // Setup all Controllers if err := controller.AddToManager(mgr); err != nil { -- cgit 1.2.3-korg