Skip to content

Commit

Permalink
look for . in version before auto-converting
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Sep 1, 2022
1 parent dd347e7 commit a95fa7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/cli/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _set_environment_variables(
elastic_port: Optional[pydantic.PositiveInt],
) -> None:
if version is not None:
if not version.startswith("v"):
if not version.startswith("v") and "." in version:
logger.warning(
f"Version passed in '{version}' doesn't start with v, substituting with 'v{version}'"
)
Expand Down

0 comments on commit a95fa7f

Please sign in to comment.