Skip to content

Commit

Permalink
Merge pull request #1420 from Vlatombe/fix-readResolve
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlatombe authored Aug 23, 2023
2 parents 0141a5f + 1e4b9e0 commit 9ddbd5a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,11 @@ private void checkHomeAndWarnIfNeeded(TaskListener listener) {
}
}

@Override
protected Object readResolve() {
this.executables = new HashSet<>();
return this;
KubernetesSlave ks = (KubernetesSlave) super.readResolve();
ks.executables = new HashSet<>();
return ks;
}

/**
Expand Down

0 comments on commit 9ddbd5a

Please sign in to comment.