Skip to content

Commit

Permalink
fix matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziopandini committed Sep 13, 2024
1 parent 2e21f9b commit 9c8d907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/conditions/v1beta2/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (m matchCondition) Match(actual interface{}) (success bool, err error) {
}

if !matchOpt.ignoreLastTransitionTime {
ok, err = gomega.Equal(m.expected.LastTransitionTime).Match(actualCondition.LastTransitionTime)
ok, err = gomega.BeTemporally("==", m.expected.LastTransitionTime.Time).Match(actualCondition.LastTransitionTime.Time)
if !ok {
return ok, err
}
Expand Down

0 comments on commit 9c8d907

Please sign in to comment.