Fix tenant details screen (#277)

This commit is contained in:
Lenin Alevski
2020-09-16 23:01:28 -07:00
committed by GitHub
parent cb7513e9f0
commit 1768af9026
11 changed files with 222 additions and 297 deletions

View File

@@ -1531,6 +1531,9 @@ func updateTenantZones(
// replace zones array
minInst.Spec.Zones = newZoneArray
minInst = minInst.DeepCopy()
minInst.EnsureDefaults()
payloadBytes, err := json.Marshal(minInst)
if err != nil {
return nil, err