Skip to content

Commit

Permalink
chore: added success message
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Pragliola committed May 3, 2024
1 parent 9a284b3 commit af240e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/get/kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ func NewKubeconfigCmd(tracker *analytics.Tracker) *cobra.Command {
return fmt.Errorf("error while getting the kubeconfig, please check that the cluster is up and running and is reachable: %w", err)
}

logrus.Infof("Kubeconfig successfully retrieved, you can find it at: %s", path.Join(outDir, "kubeconfig"))

cmdEvent.AddSuccessMessage("kubeconfig successfully retrieved")
tracker.Track(cmdEvent)

return nil
},
}
Expand Down

0 comments on commit af240e2

Please sign in to comment.