8000 fix typo · dacdo/aws-lambda-ddns-function@c1c2eff · GitHub
[go: up one dir, main page]

Skip to content

Commit c1c2eff

Browse files
authored
fix typo
1 parent 8298a72 commit c1c2eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

union.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)
0
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def lambda_handler(event, context):
186186
# Consider making this an elif CNAME
187187
else:
188188
print 'The tag \'%s\' is not a zone tag' % tag.get('Key')
189-
if 'CNAME'in tag.get('Key',{}).lstrip().upper():
189+
if 'CNAME' in tag.get('Key',{}).lstrip().upper():
190190
if is_valid_hostname(tag.get('Value')):
191191
cname = tag.get('Value').lstrip().lower()
192192
cname_host_name = cname.split('.')[0]