Correct constant's spelling error

This is not a functional change. It just improves readability.

Change-Id: I34fde706fea2a60dbf86d11f4c8930e3d2596670
This commit is contained in:
Jesse Pretorius (odyssey4me) 2022-11-18 09:52:41 +00:00
parent a120141f8d
commit ae16ef2a20

View File

@ -114,7 +114,7 @@ EXAMPLES = '''
DEFAULT_NETWORK_MTU = 1500
DEFAULT_NETWROK_SHARED = False
DEFAULT_NETWORK_SHARED = False
DEFAULT_NETWORK_ADMIN_STATE_UP = False
DEFAULT_NETWORK_TYPE = 'flat'
DEFAULT_NETWORK_VIP = False
@ -142,7 +142,7 @@ def get_network_info(conn, network_id):
def pop_defaults(_dict):
if _dict['mtu'] == DEFAULT_NETWORK_MTU:
_dict.pop('mtu')
if _dict['shared'] == DEFAULT_NETWROK_SHARED:
if _dict['shared'] == DEFAULT_NETWORK_SHARED:
_dict.pop('shared')
if _dict['admin_state_up'] == DEFAULT_NETWORK_ADMIN_STATE_UP:
_dict.pop('admin_state_up')