forked from extern/podman-compose
log version
This commit is contained in:
parent
4fd9d86e17
commit
40cb6a760e
@ -33,7 +33,7 @@ except ImportError:
|
|||||||
import yaml
|
import yaml
|
||||||
from dotenv import dotenv_values
|
from dotenv import dotenv_values
|
||||||
|
|
||||||
__version__ = '1.0.3'
|
__version__ = '1.0.4'
|
||||||
|
|
||||||
# helper functions
|
# helper functions
|
||||||
is_str = lambda s: isinstance(s, str)
|
is_str = lambda s: isinstance(s, str)
|
||||||
@ -1073,6 +1073,7 @@ class PodmanCompose:
|
|||||||
return xargs
|
return xargs
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
log("podman-compose version: "+__version__)
|
||||||
args = self._parse_args()
|
args = self._parse_args()
|
||||||
podman_path = args.podman_path
|
podman_path = args.podman_path
|
||||||
if podman_path != 'podman':
|
if podman_path != 'podman':
|
||||||
@ -1368,7 +1369,7 @@ def compose_version(compose, args):
|
|||||||
res = {"version": __version__}
|
res = {"version": __version__}
|
||||||
print(json.dumps(res))
|
print(json.dumps(res))
|
||||||
return
|
return
|
||||||
log("podman-composer version", __version__)
|
print("podman-composer version", __version__)
|
||||||
compose.podman.run(["--version"], "", [], sleep=0)
|
compose.podman.run(["--version"], "", [], sleep=0)
|
||||||
|
|
||||||
def is_local(container: dict) -> bool:
|
def is_local(container: dict) -> bool:
|
||||||
|
Loading…
Reference in New Issue
Block a user