Skip to content

Commit 6873377

Browse files
committed
Make all cloud routing methods use UUID-based lookup
-Update getDynamic methods in CloudSet to consistently use getById() instead of mixing name-based and UUID-based lookups
1 parent 5283a32 commit 6873377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/jenkins/agents/CloudSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public Descriptor<CloudSet> getDescriptor() {
7474
}
7575

7676
public Cloud getDynamic(String token) {
77-
return Jenkins.get().getCloud(token);
77+
return getById(token);
7878
}
7979

8080
@Override

0 commit comments

Comments
 (0)