Skip to content

Commit

Permalink
chore: remove redundant newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Dec 11, 2023
1 parent c49f4d7 commit fca19d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/upgrademonitor/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,10 @@ var rootCmd = &cobra.Command{
func Execute() {
// Bind the version variable to the --version flag
rootCmd.Flags().Uint64Var(&version, "version", defaultVersion, "version to monitor")

// Bind the grpcEndpoint variable to the --grpc-endpoint flag
rootCmd.Flags().StringVar(&grpcEndpoint, "grpc-endpoint", defaultGrpcEndpoint, "GRPC endpoint")

// Bind the pollFrequency variable to the --poll-frequency flag
rootCmd.Flags().Int64Var(&pollFrequency, "poll-frequency", defaultPollFrequency, "poll frequency in seconds")

// Bind the autoTry variable to the --auto-try flag
rootCmd.Flags().BoolVar(&autoTry, "auto-try", defaultAutoTry, "auto try upgrade")

Expand Down

0 comments on commit fca19d9

Please sign in to comment.