Gusto / it-cpe-opensource

Tools used by the CPE team at Gusto to manage our endpoints and software deployment systems.
Other
59 stars 29 forks source link

Set a default if _metadata is not present #59

Closed MScottBlake closed 3 years ago

MScottBlake commented 3 years ago

This PR addresses an issue where autopromote fails if there is no <key>_metadata</key> dictionary when it tries to promote a package. The new code sets a default value of an empty dictionary if the key cannot be found.

williamtheaker commented 3 years ago

Thanks for catching this!