summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2020-06-23 12:19:44 -0700
committerEric Multanen <eric.w.multanen@intel.com>2020-06-23 12:19:44 -0700
commit819a687195ef9d6c8dd9753d366c0120886d7736 (patch)
tree9059b52730a2cd683804a354fc5eac3b16d55c29
parent1f6c1d5d3750fbcfaadd1788ac47f28dd3708423 (diff)
Fix ovnaction cnitype key value
Fix the annotation key value for cnitype - should be 'type' instead of 'cniType'. Issue-ID: MULTICLOUD-1094 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I5b12049e9ed114dbc245c5fb219b5a735d8b7e2c
-rw-r--r--src/ovnaction/pkg/module/resources.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ovnaction/pkg/module/resources.go b/src/ovnaction/pkg/module/resources.go
index 24c9833e..bb21ec48 100644
--- a/src/ovnaction/pkg/module/resources.go
+++ b/src/ovnaction/pkg/module/resources.go
@@ -36,7 +36,7 @@ import (
)
type NfnAnnotation struct {
- CniType string
+ CniType string `json:"type"`
Interface []WorkloadIfIntentSpec
}