File tree 1 file changed +7
-5
lines changed
components/core-services-exec/src/main/groovy/org/squonk/execution/runners
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,11 @@ public class OpenShiftRunner extends AbstractRunner {
125
125
private static final long WATCHER_POLL_PERIOD_MILLIS = 1000 ;
126
126
127
127
private static OpenShiftClient client ;
128
- private static Watch watchObject ;
129
- private static LogWatch logWatch ;
130
- private static LogStream logStream ;
128
+
129
+ // Objects used to watch the Pod's events and its logs
130
+ private Watch watchObject ;
131
+ private LogWatch logWatch ;
132
+ private LogStream logStream ;
131
133
132
134
private final String hostBaseWorkDir ;
133
135
private final String localWorkDir ;
@@ -155,7 +157,7 @@ public class OpenShiftRunner extends AbstractRunner {
155
157
* and is responsible for determining when the executed Pod has
156
158
* run to completion.
157
159
*/
158
- static class PodWatcher implements Watcher <Pod > {
160
+ class PodWatcher implements Watcher <Pod > {
159
161
160
162
private String podName ;
161
163
@@ -366,7 +368,7 @@ public void onClose(KubernetesClientException cause) {
366
368
* It is created from within the PodWatcher when we're confident the
367
369
* Pod's running.
368
370
*/
369
- static class LogStream extends OutputStream {
371
+ class LogStream extends OutputStream {
370
372
371
373
// To accumulated the captured Pod's output...
372
374
private StringBuilder stringBuilder = new StringBuilder ();
You can’t perform that action at this time.
0 commit comments