Skip to content

Commit

Permalink
Properly check for REST Client Capability
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored and mkouba committed Sep 7, 2022
1 parent c24360e commit 2b64b81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void registerFeature(BuildProducer<FeatureBuildItem> feature, Capabilities capab
"'quarkus-narayana-lra' can only work if 'quarkus-resteasy-jackson' or 'quarkus-resteasy-reactive-jackson' is present");
}

if (!capabilities.isPresent(Capability.REST_CLIENT)) {
if (!capabilities.isCapabilityWithPrefixPresent(Capability.REST_CLIENT)) {
throw new IllegalStateException(
"'quarkus-narayana-lra' can only work if 'quarkus-rest-client' or 'quarkus-rest-client-reactive' is present");
}
Expand Down

0 comments on commit 2b64b81

Please sign in to comment.