Skip to content

Commit 7633e1e

Browse files
committed
Correct use of component
1 parent 580baeb commit 7633e1e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/oracle/kubernetes/operator/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public class Main {
114114
static {
115115
container.getComponents().put(
116116
ProcessingConstants.MAIN_COMPONENT_NAME,
117-
Component.createFor(tuningAndConfig, TuningParameters.class, callBuilderFactory));
117+
Component.createFor(TuningParameters.class, tuningAndConfig, callBuilderFactory));
118118
}
119119

120120
private static final Engine engine = new Engine("operator", container);

src/main/java/oracle/kubernetes/operator/rest/RestServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ private HttpServer createHttpsServer(Container container, SSLContext ssl, String
234234
Thread n = tf.newThread(() -> {
235235
ContainerResolver.getDefault().enterContainer(container);
236236
r.run();
237-
238237
});
239238
if (!n.isDaemon()) {
240239
n.setDaemon(true);

0 commit comments

Comments
 (0)