Skip to content

Commit

Permalink
Fix indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
lippertto committed Aug 15, 2022
1 parent 5ca7bbe commit 85b692f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcontainers/elasticsearch.py
Expand Up @@ -33,7 +33,7 @@ def _major_version_from_image_name(image_name: str) -> int:
regex_match = re.compile(r"(\d+)\.\d+\.\d+").match(version_string)
if not regex_match:
logging.warning("Could not determine major version from image name '%s'. Will use %s",
image_name, _FALLBACK_VERSION)
image_name, _FALLBACK_VERSION)
return _FALLBACK_VERSION
else:
return int(regex_match.group(1))
Expand Down

0 comments on commit 85b692f

Please sign in to comment.