Skip to content

Commit

Permalink
IG-20925 - app services patch disable force_aplply_all_mode (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaelgen authored Aug 30, 2022
1 parent e65ca39 commit 92b728e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resourcescaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,11 @@ func (s *AppResourceScaler) patchIguazioTenantAppServiceSets(ctx context.Context
"path": "/status/state",
"value": string(provisioningState),
})

jsonPatchMapper = append(jsonPatchMapper, map[string]interface{}{
"op": "add",
"path": "/spec/spec/tenants/0/spec/force_apply_all_mode",
"value": "disabled",
})
if err := s.waitForNoProvisioningInProcess(ctx); err != nil {
return errors.Wrap(err, "Failed waiting for IguazioTenantAppServiceSet to finish provisioning")
}
Expand Down

0 comments on commit 92b728e

Please sign in to comment.