diff --git a/src/main/java/cloud/dnation/jenkins/plugins/hetzner/shutdown/BeforeHourWrapsPolicy.java b/src/main/java/cloud/dnation/jenkins/plugins/hetzner/shutdown/BeforeHourWrapsPolicy.java index 2d0c84f..3212edf 100644 --- a/src/main/java/cloud/dnation/jenkins/plugins/hetzner/shutdown/BeforeHourWrapsPolicy.java +++ b/src/main/java/cloud/dnation/jenkins/plugins/hetzner/shutdown/BeforeHourWrapsPolicy.java @@ -41,6 +41,11 @@ public BeforeHourWrapsPolicy() { super(STRATEGY_SINGLETON); } + @SuppressWarnings("rawtypes") + @Override + public RetentionStrategy getRetentionStrategy() { + return STRATEGY_SINGLETON; + } @SuppressWarnings("rawtypes") private static class RetentionStrategyImpl extends RetentionStrategy {