Skip to content

Commit

Permalink
[tink-worker] Fix use and defaulting of the max-retry flag
Browse files Browse the repository at this point in the history
  • Loading branch information
detiber committed Oct 7, 2020
1 parent 30f4302 commit 0e3a06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tink-worker/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func NewRootCommand(version string, logger log.Logger) *cobra.Command {
},
RunE: func(cmd *cobra.Command, args []string) error {
retryInterval, _ := cmd.Flags().GetDuration("retry-interval")
retries, _ := cmd.Flags().GetInt("retries")
retries, _ := cmd.Flags().GetInt("max-retry")
// TODO(displague) is log-level no longer useful?
// logLevel, _ := cmd.Flags().GetString("log-level")
workerID, _ := cmd.Flags().GetString("id")
Expand Down

0 comments on commit 0e3a06a

Please sign in to comment.