We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9efac3 + 2e61a8e commit c84bc86Copy full SHA for c84bc86
cmd/troubleshoot/cli/run_nocrd.go
@@ -104,7 +104,16 @@ func runTroubleshootNoCRD(v *viper.Viper, arg string) error {
104
}
105
106
fmt.Printf("\r%s", cursor.ClearEntireLine())
107
- fmt.Printf("%s\n", archivePath)
+
108
+ msg := archivePath
109
+ if appName := collector.Labels["applicationName"]; appName != "" {
110
+ f := `A support bundle for %s has been created in this directory
111
+named %s. Please upload it on the Troubleshoot page of
112
+the %s Admin Console to begin analysis.`
113
+ msg = fmt.Sprintf(f, appName, archivePath, appName)
114
+ }
115
116
+ fmt.Printf("%s\n", msg)
117
118
return nil
119
0 commit comments