Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vm listing traceback and manpage strings #17

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

praiskup
Copy link
Member

Traceback (most recent call last):
File "/usr/bin/resalloc-ibm-cloud-list-vms", line 8, in
sys.exit(main())
^^^^^^
File "/usr/lib/python3.12/site-packages/resalloc_ibm_cloud/ibm_cloud_list_vms.py", line 18, in main
pool_id = opts.pool or os.getenv("RESALLOC_POOL_ID")
^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'pool'

The manpages contained argparsers.py string, instead of the utility name, therefore defining prog= now.

Traceback (most recent call last):
  File "/usr/bin/resalloc-ibm-cloud-list-vms", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/resalloc_ibm_cloud/ibm_cloud_list_vms.py", line 18, in main
    pool_id = opts.pool or os.getenv("RESALLOC_POOL_ID")
              ^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'pool'

The manpages contained `argparsers.py` string, instead of the utility
name, therefore defining prog= now.
@praiskup praiskup merged commit 2b9c4ae into fedora-copr:main Oct 13, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant