openziti / ziti-sdk-py

Ziti SDK for Python
Apache License 2.0
70 stars 2 forks source link

add missing function param #15

Closed qrkourier closed 2 years ago

qrkourier commented 2 years ago
 ❯ python -m openziti enroll --jwt=/tmp/pyclient1.jwt --identity=/opt/openziti/etc/identities/zeds-kentest1-pyclient1.json
Traceback (most recent call last):
  File "/home/kbingham/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbingham/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/kbingham/Sites/netfoundry/github/ziti-sdk-py/src/openziti/__main__.py", line 45, in <module>
    args.func(args)
TypeError: do_enroll() takes 0 positional arguments but 1 was given