Skip to content

Commit ce64267

Browse files
committed
fix: import Constants correctly
Signed-off-by: Zvi Grinberg <[email protected]>
1 parent 2473511 commit ce64267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/redhat/exhort/integration/backend/ExhortIntegration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ public void configure() {
267267
from(direct("healthCheckProviderDisabled"))
268268
.routeId("healthCheckProviderDisabled")
269269
.setProperty(Constants.EXCLUDE_FROM_READINESS_CHECK, constant(true))
270-
.setBody(constant(String.format("Provider %s is disabled",exchangeProperty(PROVIDER_NAME))))
270+
.setBody(constant(String.format("Provider %s is disabled",exchangeProperty(Constants.PROVIDER_NAME))))
271271

272272
.process(exchange -> {
273-
String providerName = exchange.getProperty(PROVIDER_NAME, String.class);
273+
String providerName = exchange.getProperty(Constants.PROVIDER_NAME, String.class);
274274
exchange.getMessage().setHeader(Exchange.HTTP_RESPONSE_TEXT,String.format("Provider %s is disabled", providerName)); })
275275
.setHeader(Exchange.HTTP_RESPONSE_CODE, constant(Response.Status.SERVICE_UNAVAILABLE));
276276

0 commit comments

Comments
 (0)