Fixed context.py: KeyError: 'availabilitySet'
m8r1us opened this issue · 0 comments
m8r1us commented
Pull requests not working for me so adding it to here:
If VM's have availability sets configured, stormdash.py crashed with the error: "KeyError: 'availabilitySet'
Fixed by opening context.py under /stormspotter/dash/core/ and adding ["properties"] in line 319:
vmas_id = vm["properties"]["availabilitySet"]["id"]