Skip to content

Commit

Permalink
Bypass email prompt for upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
zerbitx committed Dec 11, 2024
1 parent fa41bde commit f4ae880
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/vclusterctl/cmd/platform/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ func (cmd *StartCmd) Run(ctx context.Context) error {
}

func (cmd *StartCmd) ensureEmailWithDisclaimer() error {
if cmd.Upgrade {
return nil
}

fmt.Printf(`By providing your email, you accept our Terms of Service and Privacy Statement:
Terms of Service: https://www.loft.sh/legal/terms
Privacy Statement: https://www.loft.sh/legal/privacy
Expand Down

0 comments on commit f4ae880

Please sign in to comment.