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 <[email protected]>
  • Loading branch information
spacegospod committed Apr 18, 2024
1 parent 90c0385 commit 0893552
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 0893552

Please sign in to comment.