Skip to content

Commit 649d180

Browse files
committed
Fix assignment error with extend returning None
1 parent d8751a2 commit 649d180

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

localstack-core/localstack/dns/server.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ def handle(self, *args, **kwargs):
282282

283283
NAME_PATTERNS_POINTING_TO_LOCALSTACK = [
284284
f".*{LOCALHOST_HOSTNAME}",
285-
].extend(HOST_PREFIX_NAME_PATTERNS)
285+
*HOST_PREFIX_NAME_PATTERNS,
286+
]
286287

287288

288289
def exclude_from_resolution(domain_regex: str):

0 commit comments

Comments
 (0)