Update pkg/cli/environment.go, fix typo

Co-authored-by: Jakub Warczarek <jakub.warczarek@gmail.com>
Signed-off-by: Bhargav Ravuri <bhargav.ravuri@infracloud.io>
pull/11908/head
Bhargav Ravuri 3 years ago committed by GitHub
parent 3b1db5a437
commit 754519b4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -243,7 +243,7 @@ func (s *EnvSettings) RESTClientGetter() genericclioptions.RESTClientGetter {
// The backup file's path is updated in EnvSettings.KubeConfig.
//
// There is no safety check on EnvSettings.KubeConfig, i.e., the caller
// should call this method only when there is kube config path specified.
// should call this method only when there is kubeconfig path specified.
// Else, the actual kubeconfig file read fails.
func (s *EnvSettings) BackupKubeConfig() error {
// Form the backup file path as: <helm-config-path>/kubeconfig

Loading…
Cancel
Save