1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-31 14:36:32 +00:00

linting fixes

This commit is contained in:
moelsayed
2017-11-08 02:32:55 +02:00
parent eed7152d1a
commit bfae4c15d4
5 changed files with 10 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ type Cluster struct {
ClusterDomain string
NetworkPlugin string `yaml:"network_plugin"`
ClusterCIDR string
ClusterDnsServer string
ClusterDNSServer string
}
const (
@@ -69,7 +69,7 @@ func ParseConfig(clusterFile string) (*Cluster, error) {
}
c.ClusterDomain = c.Services.Kubelet.ClusterDomain
c.ClusterCIDR = c.Services.KubeController.ClusterCIDR
c.ClusterDnsServer = c.Services.Kubelet.ClusterDnsServer
c.ClusterDNSServer = c.Services.Kubelet.ClusterDNSServer
return c, nil
}