Skip to content

Commit

Permalink
Merge pull request #82 from balleman/vscrs_readresolve
Browse files Browse the repository at this point in the history
[FIXED JENKINS-45786] Add readResolve() to VSphereCloudRetentionStrategy
  • Loading branch information
pjdarton committed Aug 2, 2017
2 parents f3c7aac + f15f5f9 commit bbdd062
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -36,4 +36,9 @@ public String getDisplayName() {
return "vSphere Keep-Until-Idle Retention Strategy";
}
}

private Object readResolve() {
// without this, super.idleMinutes is not restored from persistence
return new VSphereCloudRetentionStrategy(idleMinutes);
}
}

0 comments on commit bbdd062

Please sign in to comment.