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 ec085a9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
azcorepolicy "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
sdkcosmos "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos/v2"

"github.com/sirupsen/logrus"
"github.com/ugorji/go/codec"

Expand Down
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 ec085a9

Please sign in to comment.