Skip to content

Commit

Permalink
Update use of hasOptionalCapability(...) to use ServiceDescriptor var…
Browse files Browse the repository at this point in the history
…iant.
  • Loading branch information
pferraro committed Mar 11, 2024
1 parent e573a46 commit 84e7e66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static void installDomainConnectorServices(final OperationContext context
final OptionMap options,
final ServiceName saslAuthenticationFactory,
final ServiceName sslContext) {
ServiceName sbmName = context.hasOptionalCapability(SocketBindingManager.SERVICE_DESCRIPTOR.getName(), NATIVE_MANAGEMENT_RUNTIME_CAPABILITY.getName(), null)
ServiceName sbmName = context.hasOptionalCapability(SocketBindingManager.SERVICE_DESCRIPTOR, NATIVE_MANAGEMENT_RUNTIME_CAPABILITY, null)
? context.getCapabilityServiceName(SocketBindingManager.SERVICE_DESCRIPTOR) : null;
installConnectorServicesForNetworkInterfaceBinding(serviceTarget, endpointName, MANAGEMENT_CONNECTOR,
networkInterfaceBinding, port, options, saslAuthenticationFactory, sslContext, sbmName);
Expand Down

0 comments on commit 84e7e66

Please sign in to comment.