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

Fixes exception when parameter file missing #925

Closed
wants to merge 1 commit into from

Commits on May 11, 2022

  1. Fixes fail when parameter file missing

    root@91107bedf108:/opt/cloudmapper# python cloudmapper.py report --account st
    * Getting resource counts
    Traceback (most recent call last):
      File "cloudmapper.py", line 72, in <module>
        main()
      File "cloudmapper.py", line 66, in main
        commands[command].run(arguments)
      File "/opt/cloudmapper/commands/report.py", line 476, in run
        report(accounts, config, args)
      File "/opt/cloudmapper/commands/report.py", line 102, in report
        account, args.stats_all_resources
      File "/opt/cloudmapper/shared/common.py", line 306, in get_account_stats
        )["LocationConstraint"]
    TypeError: 'NoneType' object is not subscriptable
    andreyzhelnin-st authored May 11, 2022
    Configuration menu
    Copy the full SHA
    eb57286 View commit details
    Browse the repository at this point in the history