From 87a51aed8017f196ba02a5fae853916a98c023a5 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Tue, 10 Apr 2018 17:54:53 +0200 Subject: [PATCH] Add json annotation for cloud provider and iface --- apis/management.cattle.io/v3/rke_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/management.cattle.io/v3/rke_types.go b/apis/management.cattle.io/v3/rke_types.go index 0eb3a671..2b535e0e 100644 --- a/apis/management.cattle.io/v3/rke_types.go +++ b/apis/management.cattle.io/v3/rke_types.go @@ -399,12 +399,12 @@ type AWSCloudProvider struct { type CalicoNetworkProvider struct { // Cloud provider type used with calico - CloudProvider string + CloudProvider string `json:"cloudProvider"` } type FlannelNetworkProvider struct { // Alternate cloud interface for flannel - Iface string + Iface string `json:"iface"` } type CanalNetworkProvider struct {