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

azure_service_enum.py - IndexError: list index out of range #3

Open
win3zz opened this issue May 12, 2020 · 0 comments
Open

azure_service_enum.py - IndexError: list index out of range #3

win3zz opened this issue May 12, 2020 · 0 comments

Comments

@win3zz
Copy link

win3zz commented May 12, 2020

ISSUE SUMMARY

azure_service_enum.py script throws an error on line number 73 when only one API version is available.
Please find below screenshot for your reference:
Screenshot from 2020-05-12 16-06-10

RECOMMENDATION

Check the length of 'apiversionlist' array before use.
To resolve the problem, add the following code before #L61:

if len(apiversionlist) > 1 :
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

No branches or pull requests

1 participant