1
0
mirror of https://github.com/rancher/types.git synced 2025-07-05 17:56:12 +00:00

Merge pull request #85 from galal-hussein/omitempty_for_machinename

add omitempty to machine name
This commit is contained in:
Alena Prokharchyk 2017-12-21 12:55:17 -08:00 committed by GitHub
commit bfb7c390a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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