Merge pull request #907 from cpatulea/get-security

Fix '--get security' (incorrect AdminMessage.ConfigType value).
This commit is contained in:
Ian McEwen authored and GitHub committed 2026-03-02 09:34:55 -07:00
commit 1c9cf37974
1 file changed
+2 -3
+2 -3
View File
@@ -170,11 +170,10 @@ class Node:
p.get_config_request = configType
else:
msgIndex = configType.index
if configType.containing_type.name == "LocalConfig":
p.get_config_request = msgIndex
p.get_config_request = admin_pb2.AdminMessage.ConfigType.Value(configType.name.upper() + "_CONFIG")
else:
p.get_module_config_request = msgIndex
p.get_module_config_request = configType.index
self._sendAdmin(p, wantResponse=True, onResponse=onResponse)
if onResponse: