From 7fdb4dcccaf151d1d2acf52b4c2c7ffb93686666 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 16 Mar 2021 14:53:55 -0400 Subject: [PATCH] Fix network configuration changes through collective --- confluent_server/confluent/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index 2f6ab998..76f5a706 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -1054,7 +1054,7 @@ class InputNetworkConfiguration(ConfluentInputMessage): if 'ipv4_gateway' not in inputdata: inputdata['ipv4_gateway'] = None - if 'ipv4_configuration' in inputdata: + if 'ipv4_configuration' in inputdata and inputdata['ipv4_configuration']: if inputdata['ipv4_configuration'].lower() not in ['dhcp','static']: raise exc.InvalidArgumentException( 'Unrecognized ipv4_configuration')