Fix ovnaction cnitype key value 67/109467/1
authorEric Multanen <eric.w.multanen@intel.com>
Tue, 23 Jun 2020 19:19:44 +0000 (12:19 -0700)
committerEric Multanen <eric.w.multanen@intel.com>
Tue, 23 Jun 2020 19:19:44 +0000 (12:19 -0700)
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

src/ovnaction/pkg/module/resources.go

index 24c9833..bb21ec4 100644 (file)
@@ -36,7 +36,7 @@ import (
 )
 
 type NfnAnnotation struct {
-       CniType   string
+       CniType   string `json:"type"`
        Interface []WorkloadIfIntentSpec
 }