From 74c0408f3b6347b781eabe40b740852a94f75da9 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Thu, 21 Dec 2017 21:18:12 +0200 Subject: [PATCH] add omitempty to machineName --- apis/management.cattle.io/v3/rke_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/rke_types.go b/apis/management.cattle.io/v3/rke_types.go index 4f7e034f..180bcf30 100644 --- a/apis/management.cattle.io/v3/rke_types.go +++ b/apis/management.cattle.io/v3/rke_types.go @@ -23,7 +23,7 @@ type RancherKubernetesEngineConfig struct { type RKEConfigNode struct { // Name of the host provisioned via docker machine - MachineName string `yaml:"machine_name" json:"machineName, omitempty"` + MachineName string `yaml:"machine_name,omitempty" json:"machineName,omitempty"` // IP or FQDN that is fully resolvable and used for SSH communication Address string `yaml:"address" json:"address,omitempty"` // Optional - Internal address that will be used for components communication