From a95fa7f36f4e68bb1063a02847dc9d6fef4d851e Mon Sep 17 00:00:00 2001 From: Shirshanka Das Date: Thu, 1 Sep 2022 10:31:37 -0700 Subject: [PATCH] look for . in version before auto-converting --- metadata-ingestion/src/datahub/cli/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-ingestion/src/datahub/cli/docker.py b/metadata-ingestion/src/datahub/cli/docker.py index b0c29b0369a9e..63fc4c6144bdd 100644 --- a/metadata-ingestion/src/datahub/cli/docker.py +++ b/metadata-ingestion/src/datahub/cli/docker.py @@ -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}'" )