aboutsummaryrefslogtreecommitdiffstats
path: root/src/ncm/pkg/module/providernet.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/ncm/pkg/module/providernet.go')
-rw-r--r--src/ncm/pkg/module/providernet.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ncm/pkg/module/providernet.go b/src/ncm/pkg/module/providernet.go
index 0435f2ba..a1cbe940 100644
--- a/src/ncm/pkg/module/providernet.go
+++ b/src/ncm/pkg/module/providernet.go
@@ -37,9 +37,9 @@ type ProviderNetSpec struct {
// structure for the Network Custom Resource
type CrProviderNet struct {
- ApiVersion string `yaml:"apiVersion"`
- Kind string `yaml:"kind"`
- ProviderNet ProviderNet
+ ApiVersion string `yaml:"apiVersion"`
+ Kind string `yaml:"kind"`
+ ProviderNet ProviderNet `yaml:",inline"`
}
const PROVIDER_NETWORK_APIVERSION = "k8s.plugin.opnfv.org/v1alpha1"