Skip to content

Commit

Permalink
Disable installing essential plugins for tanzu plugin source commands (
Browse files Browse the repository at this point in the history
  • Loading branch information
mpanchajanya authored Mar 11, 2024
1 parent 426b9bb commit 68ce55d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/command/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ func InstallEssentialPlugins(cmd *cobra.Command) {
"tanzu pinniped-auth",
// Avoid trying to install essential plugins when user want to remove all plugins using tanzu plugin clean
"tanzu plugin clean",
// Avoid trying to install essential plugins when users initializes or update the plugin source information
"tanzu plugin source",
}
skipEssentials := false
for _, cmdPath := range skipCommandsForEssentials {
Expand Down

0 comments on commit 68ce55d

Please sign in to comment.