Skip to content

Commit

Permalink
bugfix: Exclude ServerGUID from MOR comparison in WaitEx
Browse files Browse the repository at this point in the history
Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
  • Loading branch information
spacegospod authored and dougm committed Apr 18, 2024
1 parent 134152d commit 8c99cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func WaitEx(
func(updates []types.ObjectUpdate) bool {
for _, update := range updates {
// Only look at updates for the expected task object.
if update.Obj == ref {
if update.Obj.Value == ref.Value && update.Obj.Type == ref.Type {
if cb.fn(update.ChangeSet) {
return true
}
Expand Down

0 comments on commit 8c99cb8

Please sign in to comment.