Skip to content

Commit 07ea9c4

Browse files
authored
Merge pull request #49458 from LarsSven/ls/manifest-application-logs
Only log manifests as applied if the process completes succesfully
2 parents 0af684e + 44c53ad commit 07ea9c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/DevServicesKubernetesProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@ public void applyManifests(
229229
+ " to be ready...");
230230
client.resource(resource).waitUntilReady(60, TimeUnit.SECONDS);
231231
});
232+
233+
log.infof("Applied manifest %s.", manifestPath);
232234
}
233235
} catch (Exception ex) {
234236
log.errorf("Failed to apply manifest %s: %s", manifestPath, ex.getMessage());
235237
}
236238
}
237-
238-
log.infof("Applied manifest %s.", manifestPath);
239239
}
240240
} catch (Exception e) {
241241
log.error("Failed to create Kubernetes client while trying to apply manifests.", e);

0 commit comments

Comments
 (0)