Skip to content

Commit f07b126

Browse files
committed
Minor changes.
1 parent 8fe6448 commit f07b126

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

operator/src/main/java/oracle/kubernetes/operator/helpers/ConfigMapHelper.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ public NextAction onSuccess(Packet packet, CallResponse<V1ConfigMap> callRespons
325325
.ifPresent(value -> addLabel(INTROSPECTION_STATE_LABEL, value));
326326
Optional.ofNullable(domain).map(Domain::getMetadata).map(V1ObjectMeta::getGeneration)
327327
.ifPresent(value -> addLabel(INTROSPECTION_DOMAIN_SPEC_GENERATION, value.toString()));
328-
LOGGER.info("DEBUG: After adding INTROSPECTION_DOMAIN_SPEC_GENERATION labels is " + labels);
329328
V1ConfigMap existingMap = withoutTransientData(callResponse.getResult());
330329
if (existingMap == null) {
331330
return doNext(createConfigMap(getNext()), packet);

operator/src/main/java/oracle/kubernetes/operator/helpers/JobHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private static boolean introspectionRequested(Packet packet) {
111111

112112
private static boolean isIntrospectVersionChanged(Packet packet, DomainPresenceInfo info) {
113113
return Optional.ofNullable(packet.get(INTROSPECTION_STATE_LABEL))
114-
.map(gen -> !gen.equals(getIntrospectVersion(info))).orElse(false);
114+
.map(introspectVersionLabel -> !introspectVersionLabel.equals(getIntrospectVersion(info))).orElse(false);
115115
}
116116

117117
private static boolean isGenerationChanged(Packet packet, DomainPresenceInfo info) {

0 commit comments

Comments
 (0)