Skip to content

Commit

Permalink
fixup! SILKit-1607: Usage of key values for created participant and c…
Browse files Browse the repository at this point in the history
…ontroller types
  • Loading branch information
VLukasBecker committed Nov 6, 2024
1 parent 53460c5 commit a416b0c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions SilKit/source/core/participant/Participant_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,11 +745,11 @@ auto Participant<SilKitConnectionT>::CreateRpcClient(
lm.SetMessage("Created controller");
lm.SetKeyValue(Logging::Keys::controllerType, supplementalData[SilKit::Core::Discovery::controllerType]);
lm.SetKeyValue(Logging::Keys::controllerName, controllerConfig.name);
lm.SetKeyValue(Logging::Keys::controllerFuncName, controllerConfig.functionName.value());
lm.SetKeyValue(Logging::Keys::mediaType, dataSpec.MediaType());
lm.SetKeyValue(Logging::Keys::controllerFuncName, configuredRpcSpec.FunctionName());
lm.SetKeyValue(Logging::Keys::mediaType, configuredRpcSpec.MediaType());
lm.SetKeyValue(Logging::Keys::network, network);
lm.SetKeyValue(Logging::Keys::serviceName, controller->GetServiceDescriptor().to_string());
lm.SetKeyValue(Logging::Keys::label, FormatLabelsForLogging(dataSpec.Labels()));
lm.SetKeyValue(Logging::Keys::label, FormatLabelsForLogging(configuredRpcSpec.Labels()));
lm.Dispatch();
}

Expand Down Expand Up @@ -801,11 +801,11 @@ auto Participant<SilKitConnectionT>::CreateRpcServer(
lm.SetMessage("Created controller");
lm.SetKeyValue(Logging::Keys::controllerType, supplementalData[SilKit::Core::Discovery::controllerType]);
lm.SetKeyValue(Logging::Keys::controllerName, controllerConfig.name);
lm.SetKeyValue(Logging::Keys::controllerFuncName, controllerConfig.functionName.value());
lm.SetKeyValue(Logging::Keys::mediaType, dataSpec.MediaType());
lm.SetKeyValue(Logging::Keys::controllerFuncName, configuredRpcSpec.FunctionName());
lm.SetKeyValue(Logging::Keys::mediaType, configuredRpcSpec.MediaType());
lm.SetKeyValue(Logging::Keys::network, network);
lm.SetKeyValue(Logging::Keys::serviceName, controller->GetServiceDescriptor().to_string());
lm.SetKeyValue(Logging::Keys::label, FormatLabelsForLogging(dataSpec.Labels()));
lm.SetKeyValue(Logging::Keys::label, FormatLabelsForLogging(configuredRpcSpec.Labels()));
lm.Dispatch();
}

Expand Down

0 comments on commit a416b0c

Please sign in to comment.