Skip to content

Commit 81f9830

Browse files
committed
remove unnecessary line
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 62f6b91 commit 81f9830

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/kubernetes/DesiredResourceSanitizer.java

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ private static void fillDefaultsOnVolumeClaimTemplate(StatefulSet statefulSet) {
3939
t.setStatus(new PersistentVolumeClaimStatus());
4040
}
4141
if (t.getStatus().getPhase() == null) {
42-
t.setStatus(new PersistentVolumeClaimStatus());
4342
t.getStatus().setPhase("pending");
4443
}
4544
});

0 commit comments

Comments
 (0)