Skip to content

Commit

Permalink
Honor global namespace flag in sysdump command
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Dec 18, 2022
1 parent d299bf5 commit e163dba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/cli/cmd/sysdump.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func newCmdSysdump() *cobra.Command {
Short: "Collects information required to troubleshoot issues with Cilium and Hubble",
Long: ``,
RunE: func(cmd *cobra.Command, args []string) error {
sysdumpOptions.CiliumNamespace = namespace
// Silence klog to avoid displaying "throttling" messages - those are expected.
klog.SetOutput(io.Discard)
// Collect the sysdump.
Expand Down

0 comments on commit e163dba

Please sign in to comment.