Skip to content

Commit 35c2d5c

Browse files
committed
comment on on close implementation
1 parent 8a06b20 commit 35c2d5c

File tree

1 file changed

+2
-0
lines changed
  • operator-framework/src/main/java/com/github/containersolutions/operator/processing

1 file changed

+2
-0
lines changed

operator-framework/src/main/java/com/github/containersolutions/operator/processing/EventScheduler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ public void onClose(KubernetesClientException e) {
154154
log.error("Error: ", e);
155155
// we will exit the application if there was a watching exception, because of the bug in fabric8 client
156156
// see https://github.com/fabric8io/kubernetes-client/issues/1318
157+
// Note that this should not happen normally, since fabric8 client handles reconnect.
158+
// In case it tries to reconnect this method is not called.
157159
System.exit(1);
158160
}
159161
}

0 commit comments

Comments
 (0)