Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tianweidut authored May 25, 2024
1 parent 200fa95 commit 9df1e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/starwhale/mngt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _check_docker_compose() -> str:
out = subprocess.check_output(
["docker", "compose", "version", "--short"], stderr=subprocess.STDOUT
)
return out.decode().strip()
return out.decode().strip().split('-')[0]

dependencies: t.List[_Dependency] = [
_Dependency(
Expand Down

0 comments on commit 9df1e85

Please sign in to comment.