Handle MarketPlaceImages with no purchase plan defined as valid case
unmarshall opened this issue · comments
What happened:
While testing on dev, our assumption that marketplace images must have a plan was invalidated. For a certain VM Image, no plan existed and that needs to be supported as a valid use case. Unfortunately this caused a nil pointer dereference and caused the MCM provider azure container to crash.
What you expected to happen:
Handle the case that a marketplace image does not have plan. The VM should be created with a nil plan.
How to reproduce it (as minimally and precisely as possible):
Use a VM Image which has no plan defined.