Update cmd/helm/helm.go, fix styling

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

@ -76,8 +76,7 @@ func main() {
if settings.KubeConfig != "" {
// If KubeConfig path is not empty, backup kube config to: <helm-config-path>/kubeconfig
// When the backup is successful, the settings.KubeConfig path is updated to backup file's path.
err = settings.BackupKubeConfig()
if err != nil {
if err := settings.BackupKubeConfig(); err != nil {
log.Fatal(err)
}
} else {

Loading…
Cancel
Save