From c8b6924424ec0f13d9802865b3c3bbb8a8c64d30 Mon Sep 17 00:00:00 2001 From: Luke Heidecke Date: Thu, 20 Jul 2017 13:04:33 +0900 Subject: [PATCH] Fix on-premises term in error string and comments --- pkg/cloudprovider/providers/aws/aws.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/cloudprovider/providers/aws/aws.go b/pkg/cloudprovider/providers/aws/aws.go index 40256006f6c..f13598bab99 100644 --- a/pkg/cloudprovider/providers/aws/aws.go +++ b/pkg/cloudprovider/providers/aws/aws.go @@ -403,7 +403,7 @@ type CloudConfig struct { Zone string // The AWS VPC flag enables the possibility to run the master components - // on a different aws account, on a different cloud provider or on-premise. + // on a different aws account, on a different cloud provider or on-premises. // If the flag is set also the KubernetesClusterTag must be provided VPC string // SubnetID enables using a specific subnet to use for ELB's @@ -876,9 +876,9 @@ func newAWSCloud(config io.Reader, awsServices Services) (*Cloud, error) { awsCloud.instanceCache.cloud = awsCloud if cfg.Global.VPC != "" && cfg.Global.SubnetID != "" && (cfg.Global.KubernetesClusterTag != "" || cfg.Global.KubernetesClusterID != "") { - // When the master is running on a different AWS account, cloud provider or on-premise + // When the master is running on a different AWS account, cloud provider or on-premises // build up a dummy instance and use the VPC from the nodes account - glog.Info("Master is configured to run on a different AWS account, different cloud provider or on-premise") + glog.Info("Master is configured to run on a different AWS account, different cloud provider or on-premises") awsCloud.selfAWSInstance = &awsInstance{ nodeName: "master-dummy", vpcID: cfg.Global.VPC,