Skip to content

Commit

Permalink
DONT PUSH - CHECK GATEWAY VMSS LOGS
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeepc2792 committed May 29, 2024
1 parent 5e3fecd commit 1eed6b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/deploy/upgrade_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (d *deployer) UpgradeGateway(ctx context.Context) error {
err := d.gatewayWaitForReadiness(timeoutCtx, gatewayVMSSPrefix+d.version)
if err != nil {
// delete VMSS since VMSS instances are not healthy
if *d.config.Configuration.VMSSCleanupEnabled {
if false && *d.config.Configuration.VMSSCleanupEnabled {
d.vmssCleaner.RemoveFailedNewScaleset(ctx, d.config.GatewayResourceGroupName, gatewayVMSSPrefix+d.version)
}
return err
Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/upgrade_rp.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (d *deployer) UpgradeRP(ctx context.Context) error {
err := d.rpWaitForReadiness(timeoutCtx, rpVMSSPrefix+d.version)
if err != nil {
// delete VMSS since VMSS instances are not healthy
if *d.config.Configuration.VMSSCleanupEnabled {
if false && *d.config.Configuration.VMSSCleanupEnabled {
d.vmssCleaner.RemoveFailedNewScaleset(ctx, d.config.RPResourceGroupName, rpVMSSPrefix+d.version)
}
return err
Expand Down

0 comments on commit 1eed6b6

Please sign in to comment.