Skip to content

Commit 8cc560a

Browse files
author
Serhii Zakharov
committed
fixed a bug
1 parent 5aa3bb8 commit 8cc560a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gatherers/conditional/conditional_gatherer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ func (g *Gatherer) updateVersionCache(ctx context.Context, configClient configv1
340340
return err
341341
}
342342

343-
g.clusterVersion = clusterVersion.Spec.DesiredUpdate.Version
343+
g.clusterVersion = clusterVersion.Status.Desired.Version
344344

345345
return nil
346346
}

0 commit comments

Comments
 (0)