File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
operator-framework/src/main/java/com/github/containersolutions/operator/processing Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -151,12 +151,10 @@ void eventProcessingFailed(CustomResourceEvent event) {
151
151
152
152
@ Override
153
153
public void onClose (KubernetesClientException e ) {
154
- if (e != null ) {
155
- log .error ("Error: " , e );
156
- // we will exit the application if there was a watching exception, because of the bug in fabric8 client
157
- // see https://github.com/fabric8io/kubernetes-client/issues/1318
158
- System .exit (1 );
159
- }
154
+ log .error ("Error: " , e );
155
+ // we will exit the application if there was a watching exception, because of the bug in fabric8 client
156
+ // see https://github.com/fabric8io/kubernetes-client/issues/1318
157
+ System .exit (1 );
160
158
}
161
159
}
162
160
You can’t perform that action at this time.
0 commit comments