adutra commented on code in PR #3340:
URL: https://github.com/apache/polaris/pull/3340#discussion_r2667686499
##########
runtime/service/src/main/java/org/apache/polaris/service/config/ProductionReadinessChecks.java:
##########
@@ -75,6 +75,10 @@ public void warnOnFailedChecks(
@Observes Startup event,
Instance<ProductionReadinessCheck> checks,
ReadinessConfiguration config) {
+ // Skip production readiness checks in CLI mode - they're only relevant
for server deployments
+ if ("cli".equals(System.getProperty("quarkus.profile"))) {
Review Comment:
It's safer to use the following idiom, as more than one profile can be
specified with `quarkus.profile`:
```java
if (ConfigUtils.isProfileActive("cli")) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]