Skip to content

Commit 8c99cb8

Browse files
spacegospoddougm
authored andcommitted
bugfix: Exclude ServerGUID from MOR comparison in WaitEx
Signed-off-by: Stoyan Zhelyazkov <[email protected]>
1 parent 134152d commit 8c99cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

task/wait.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func WaitEx(
141141
func(updates []types.ObjectUpdate) bool {
142142
for _, update := range updates {
143143
// Only look at updates for the expected task object.
144-
if update.Obj == ref {
144+
if update.Obj.Value == ref.Value && update.Obj.Type == ref.Type {
145145
if cb.fn(update.ChangeSet) {
146146
return true
147147
}

0 commit comments

Comments
 (0)