Skip to content

Commit

Permalink
Move CloudList.setOwner call from Jenkins.loadTasks to load (#8976
Browse files Browse the repository at this point in the history
)

Co-authored-by: Vincent Latombe <[email protected]>
  • Loading branch information
jglick and Vlatombe authored Feb 28, 2024
1 parent 0eed048 commit 20263d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/jenkins/model/Jenkins.java
Original file line number Diff line number Diff line change
Expand Up @@ -3388,6 +3388,7 @@ public void load() throws IOException {
primaryView = v.getViewName();
}
primaryView = AllView.migrateLegacyPrimaryAllViewLocalizedName(views, primaryView);
clouds.setOwner(this);
configLoaded = true;
try {
checkRawBuildsDir(buildsDir);
Expand Down Expand Up @@ -3497,8 +3498,6 @@ public void run(Reactor session) throws Exception {
} else {
nodes.load();
}

clouds.setOwner(Jenkins.this);
}
});

Expand Down

0 comments on commit 20263d0

Please sign in to comment.