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.
zero
1 parent 92fb931 commit 060cf9cCopy full SHA for 060cf9c
conditions/conditions.go
@@ -32,8 +32,8 @@ type StatusWithConditions[S HasConditions] struct {
32
33
// GetStatusConditions returns all status conditions.
34
func (s *StatusWithConditions[S]) GetStatusConditions() *[]metav1.Condition {
35
- var nilS S
36
- if s.Status == nilS {
+ var zero S
+ if s.Status == zero {
37
return nil
38
}
39
return s.Status.GetStatusConditions()
0 commit comments