Skip to content

Commit

Permalink
word
Browse files Browse the repository at this point in the history
  • Loading branch information
tanfarming committed Nov 21, 2023
1 parent 659172b commit a4dcf63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion orch/internal/handlers/hc_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,9 @@ func UpdateHubsCloudInstance(cfg HCcfg) (string, error) {
internal.Logger.Sugar().Debugf("updating tier %v --> %v", currentTier, cfg.Tier)

if currentTier == cfg.Tier {
return "currentTier == cfg.Tier", errors.New("SAME_TIER_NOUPDATE")
internal.Logger.Warn("currentTier == cfg.Tier")
// return "currentTier == cfg.Tier", errors.New("SAME_TIER_NOUPDATE")
return "currentTier == cfg.Tier, no update", nil
}

if strings.HasPrefix(currentTier, "b") && !strings.HasPrefix(cfg.Tier, "b") {
Expand Down

0 comments on commit a4dcf63

Please sign in to comment.