diff --git a/src/azure-cli/azure/cli/command_modules/network/azure_stack/zone_file/parse_zone_file.py b/src/azure-cli/azure/cli/command_modules/network/azure_stack/zone_file/parse_zone_file.py index 9e64d88bf98..378485eb54a 100644 --- a/src/azure-cli/azure/cli/command_modules/network/azure_stack/zone_file/parse_zone_file.py +++ b/src/azure-cli/azure/cli/command_modules/network/azure_stack/zone_file/parse_zone_file.py @@ -289,8 +289,6 @@ def _add_record_names(text): Go through each line of the text and ensure that a name is defined. Use previous record name if there is none. """ - global SUPPORTED_RECORDS - lines = text.split("\n") ret = [] previous_record_name = None diff --git a/src/azure-cli/azure/cli/command_modules/network/zone_file/parse_zone_file.py b/src/azure-cli/azure/cli/command_modules/network/zone_file/parse_zone_file.py index 4a227c01ab7..d59bae29271 100644 --- a/src/azure-cli/azure/cli/command_modules/network/zone_file/parse_zone_file.py +++ b/src/azure-cli/azure/cli/command_modules/network/zone_file/parse_zone_file.py @@ -293,8 +293,6 @@ def _add_record_names(text): Go through each line of the text and ensure that a name is defined. Use previous record name if there is none. """ - global SUPPORTED_RECORDS - lines = text.split("\n") ret = [] previous_record_name = None