mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
fixes bug introduced in prior commit
This commit is contained in:
committed by
Jude Nelson
parent
3f71a7e9e7
commit
4c93cb683d
@@ -197,7 +197,7 @@ def format_profile(profile, fqa, zone_file, refresh=False):
|
||||
NAME_PATTERN = re.compile(OP_NAME_PATTERN)
|
||||
NS_PATTERN = re.compile(OP_NAMESPACE_PATTERN)
|
||||
def is_valid_fqa(fqa):
|
||||
if (NAME_PATTERN.match(username) is None):
|
||||
if (NAME_PATTERN.match(fqa) is None):
|
||||
return False
|
||||
try:
|
||||
username, ns = fqa.split(".")
|
||||
|
||||
Reference in New Issue
Block a user