mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-02-14 18:29:53 +00:00
feat(support-bundle): optimize the error log of ceph and longhorn when kURL add-on were not enabled (#943)
This commit is contained in:
@@ -35,7 +35,7 @@ from a server that can be used to assist when troubleshooting a Kubernetes clust
|
||||
if !v.GetBool("debug") {
|
||||
klog.SetLogger(logr.Discard())
|
||||
}
|
||||
logger.SetQuiet(v.GetBool("quiet"))
|
||||
logger.SetQuiet(!v.GetBool("debug"))
|
||||
},
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
v := viper.GetViper()
|
||||
|
||||
Reference in New Issue
Block a user