Azure / Azure/azure-linux-extensions
[CustomScript] 'settings' is missing in ARM template, gives error "NoneType has no attribute 'get'"
Open
bug
extensions/CustomScript
- Dominant language
- Python
- Stars
- 333
- Forks
- 278
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
If I try to run a protected inline script with just a `commandToExecute` under `protectedSettings`, the logs contain the error mentioned in the title because of this line: https://github.com/Azure/azure-linux-extensions/blob/master/CustomScript/customscript.py#L499, which assumes that `public_settings` is defined.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.