Skip to content

Commit f0d5536

Browse files
csvirishawkins
andcommitted
Update operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/PrimaryUpdateAndCacheUtils.java
Co-authored-by: Steven Hawkins <[email protected]>
1 parent e9205f9 commit f0d5536

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
@@ -484,7 +484,7 @@ public static int compareResourceVersions(String v1, String v2) {
484484
var char2 = v2.charAt(i);
485485
if (v2LeadingZero) {
486486
if (char2 == '0') {
487-
throw new IllegalStateException("Resource version (1) cannot begin with 0");
487+
throw new IllegalStateException("Resource version (2) cannot begin with 0");
488488
}
489489
v2LeadingZero = false;
490490
}

0 commit comments

Comments
 (0)