-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing nil pointer in case of no timeout ⏲
If `pr.Spec.Timeout` is nil (aka no timeout applied), dereferencing it (`*pr.Spec.Timout`) will panic. Signed-off-by: Vincent Demeester <vdemeest@redhat.com> (cherry picked from commit d3bf694)
- Loading branch information
1 parent
4e23d50
commit 61e4167
Showing
2 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters