Skip to content

Commit 9fa9dc5

Browse files
committed
wip
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 5c51639 commit 9fa9dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample-operators/operations/src/main/java/io/javaoperatorsdk/operator/sample/metrics/MetricsHandlingSampleOperator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ public static void main(String[] args) throws Exception {
7979
operator.register(
8080
new MetricsHandlingReconciler2(),
8181
configLoader.applyControllerConfigs(MetricsHandlingReconciler2.NAME));
82-
operator.start();
83-
8482
var startup = new ContextHandler(new StartupHandler(operator), "/startup");
8583
var readiness = new ContextHandler(new ReadinessHandler(operator), "/ready");
8684
Server server = new Server(8080);
8785
server.setHandler(new ContextHandlerCollection(startup, readiness));
8886
server.start();
8987
log.info("Health probe server started on port 8080");
88+
89+
operator.start();
9090
}
9191

9292
public static @NonNull Metrics initOTLPMetrics(boolean localRun) {

0 commit comments

Comments
 (0)