1
0
mirror of https://github.com/rancher/types.git synced 2025-08-30 19:32:18 +00:00

add omitempty to machineName

This commit is contained in:
galal-hussein 2017-12-21 21:18:12 +02:00
parent 9a687d27b1
commit 74c0408f3b

View File

@ -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