fix typo for federation/*

This commit is contained in:
Aaron.L.Xu
2016-12-20 20:00:10 -08:00
parent b3b9bcc04c
commit 853167624e
54 changed files with 74 additions and 74 deletions

View File

@@ -92,7 +92,7 @@ var KubeconfigGetterForCluster = func(c *federation_v1beta1.Cluster) clientcmd.K
}
}
// KubeconfigGettterForSecret is used to get the kubeconfig from the given secret.
// KubeconfigGetterForSecret is used to get the kubeconfig from the given secret.
var KubeconfigGetterForSecret = func(secretName string) clientcmd.KubeconfigGetter {
return func() (*clientcmdapi.Config, error) {
var data []byte
@@ -137,7 +137,7 @@ var KubeconfigGetterForSecret = func(secretName string) clientcmd.KubeconfigGett
}
}
// Retruns Clientset for the given cluster.
// Returns Clientset for the given cluster.
func GetClientsetForCluster(cluster *federation_v1beta1.Cluster) (*fedclientset.Clientset, error) {
clusterConfig, err := BuildClusterConfig(cluster)
if err != nil && clusterConfig != nil {