Skip to content

Commit 1a39cdd

Browse files
committed
sonar
1 parent f48cf2c commit 1a39cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/autoscaling/src/simcore_service_autoscaling/utils/cluster_scaling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from ..models import AssociatedInstance
2222
from . import utils_docker
2323

24-
_EC2_INTERNAL_DNS_RE: Final[re.Pattern] = re.compile(r"^(?P<host_name>ip-[^.]+).*$")
24+
_EC2_INTERNAL_DNS_RE: Final[re.Pattern] = re.compile(r"^(?P<host_name>ip-[^.]+)\..+$")
2525
_logger = logging.getLogger(__name__)
2626

2727

0 commit comments

Comments
 (0)