Skip to content

Commit 7574b1c

Browse files
committed
fix: fallback to highest plan when billing is disabled
1 parent 744e511 commit 7574b1c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ func main() {
118118
cronjob.AddFunc(interval, util.SetClusterPlan)
119119
cronjob.Start()
120120
} else {
121+
var plan = util.ArcEnterprise
122+
util.Tier = &plan
121123
log.Println("You're running Arc with billing module disabled.")
122124
}
123125

0 commit comments

Comments
 (0)