Skip to content

Commit

Permalink
fix: timeout not used in describe
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Gupta <iamshubhamgupta2001@gmail.com>
  • Loading branch information
shubham-cmyk committed Feb 19, 2024
1 parent 7373097 commit 961c605
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/runner/kubectl/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ func Describe(collector *v1alpha1.Describe) (*v1alpha1.Command, error) {
if collector.ShowEvents != nil {
cmd.Args = append(cmd.Args, fmt.Sprintf("--show-events=%t", *collector.ShowEvents))
}
if collector.Timeout != nil {
cmd.Timeout = collector.Timeout
}
return &cmd, nil
}

0 comments on commit 961c605

Please sign in to comment.