2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-01 23:13:29 +00:00

Fix uninitialized privacy_protocol variable

This commit is contained in:
Jarrod Johnson
2026-02-03 07:58:07 -05:00
parent 99063eb049
commit 86783a2f12

View File

@@ -39,6 +39,7 @@ def get_switchcreds(configmanager, switches):
user = None
password = switchparms.get(
'secret.snmpcommunity', {}).get('value', None)
privacy_protocol = None
if not password:
password = switchparms.get(
'secret.hardwaremanagementpassword', {}).get('value',