Merge "Fix instance check when refreshing dependencies"

This commit is contained in:
Zuul 2022-09-27 10:59:27 +00:00 committed by Gerrit Code Review
commit a30b6fc8aa

View File

@ -287,7 +287,7 @@ class PipelineManager(metaclass=ABCMeta):
change_in_pipeline = False
for item in self.pipeline.getAllItems():
if not isinstance(change, model.Change):
if not isinstance(item.change, model.Change):
continue
for dep_change_ref in item.change.commit_needs_changes:
if item.change.equals(change):