Skip to content

Commit 6a177ed

Browse files
committed
fix dynconfig proto usage
1 parent 0c1e47a commit 6a177ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/draft/dynamic_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _get_node_labels_request_factory(node_id):
7171

7272
def _wrap_dynamic_config(config_pb, dynamic_config_cls=None, *args, **kwargs):
7373
dynamic_config_cls = DynamicConfig if dynamic_config_cls is None else dynamic_config_cls
74-
return dynamic_config_cls(config_pb.identity.version, config_pb.identity.cluster, config_pb.config, *args, **kwargs)
74+
return dynamic_config_cls(config_pb.identity[0].version, config_pb.identity[0].cluster, config_pb.config[0], *args, **kwargs)
7575

7676

7777
def _wrap_get_config_response(rpc_state, response):

0 commit comments

Comments
 (0)