Skip to content

Commit

Permalink
Only passing federated-plugin parameter to plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
nvidianz committed Jul 23, 2024
1 parent c26c122 commit a1c0306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/federated/federated_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ FederatedPlugin::FederatedPlugin(StringView path, Json config)
plugin_handle_ = decltype(plugin_handle_)(
[&] {
// Initialize the parameters
auto const& obj = get<Object>(config);
auto const& obj = OptionalArg<Object>(config, "federated_plugin", Object::Map{});
std::vector<std::string> kwargs;
for (auto const& kv : obj) {
std::string value;
Expand Down

0 comments on commit a1c0306

Please sign in to comment.