Skip to content

Commit 84ac4bb

Browse files
csvirixstefank
andauthored
Update operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/PrimaryUpdateAndCacheUtils.java
Co-authored-by: Martin Stefanko <xstefank122@gmail.com>
1 parent 808f6d9 commit 84ac4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/PrimaryUpdateAndCacheUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public static int compareResourceVersions(String v1, String v2) {
458458
}
459459
var v2Length = v2.length();
460460
if (v2Length == 0) {
461-
throw new NonComparableResourceVersionException("Resource version (1) is empty");
461+
throw new NonComparableResourceVersionException("Resource version (2) is empty");
462462
}
463463
var maxLength = Math.max(v1Length, v2Length);
464464
boolean v1LeadingZero = true;

0 commit comments

Comments
 (0)