|
@@ -95,13 +95,13 @@ def main():
|
95
|
95
|
print('Checking existing zones...')
|
96
|
96
|
zones = get_zones(container)
|
97
|
97
|
if zones is None:
|
98
|
|
- print('Failes to get existing zones: Unknown error')
|
|
98
|
+ print('Failed to get existing zones: Unknown error')
|
99
|
99
|
return 4
|
100
|
100
|
|
101
|
101
|
print('Checking existing TSIG keys...')
|
102
|
102
|
keys = get_tsig_keys(container)
|
103
|
103
|
if keys is None:
|
104
|
|
- print('Failes to get existing TSIG keys: Unknown error')
|
|
104
|
+ print('Failed to get existing TSIG keys: Unknown error')
|
105
|
105
|
return 5
|
106
|
106
|
|
107
|
107
|
if '%s.|%s.' % (args.tsig_key_name, args.tsig_key_algo) in keys:
|