mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
[FIXED HUDSON-3696] Contract violation. This shouldn't be null.
This commit is contained in:
1 parent
834ca4d97b
commit
33573ca2bd
2 files changed
+4
-1
No files matched your search
@@ -445,7 +445,7 @@ public class SlaveComputer extends Computer {
|
||||
|
||||
public RetentionStrategy getRetentionStrategy() {
|
||||
Slave n = getNode();
|
||||
return n==null ? null : n.getRetentionStrategy();
|
||||
return n==null ? RetentionStrategy.INSTANCE : n.getRetentionStrategy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user