Skip to content

Commit

Permalink
fix(#154): broken version command
Browse files Browse the repository at this point in the history
  • Loading branch information
SteinRobert committed Aug 19, 2022
1 parent 6d337c5 commit 444eab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-tester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ jobs:
working-directory: ./client
run: |
poetry run coverage run -a -m gefyra check
- name: Run gefyra version
working-directory: ./client
run: |
poetry run coverage run -a -m gefyra version
- name: Run gefyra up with invalid kubeconfig path
working-directory: ./client
shell: bash --noprofile --norc -o pipefail {0}
Expand Down
6 changes: 3 additions & 3 deletions client/gefyra/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def get_client_configuration(args) -> ClientConfiguration:

def main():
try:
from gefyra import configuration
from gefyra import configuration as configuration_package
from gefyra.api import bridge, down, run, unbridge, unbridge_all, up
from gefyra.local.check import probe_kubernetes, probe_docker

Expand All @@ -272,7 +272,7 @@ def main():
logger.setLevel(logging.DEBUG)
else:
logger.setLevel(logging.INFO)
logger.addHandler(configuration.console)
logger.addHandler(configuration_package.console)

configuration = get_client_configuration(args)

Expand Down Expand Up @@ -325,7 +325,7 @@ def main():
probe_kubernetes(config=configuration)
elif args.action == "version":
check = not args.no_check
version(configuration, check)
version(configuration_package, check)
elif args.action == "telemetry":
telemetry_command(on=args.on, off=args.off)
else:
Expand Down

0 comments on commit 444eab4

Please sign in to comment.