Skip to content

Commit d99e0da

Browse files
author
noerw
committed
fix watchCmd interval
woops, not debugging anymore
1 parent aaac89f commit d99e0da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/watch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var watchBoxesCmd = &cobra.Command{
2828
Long: "specify box IDs to watch them for events",
2929
Args: BoxIdValidator,
3030
PreRun: func(cmd *cobra.Command, args []string) {
31-
ticker = time.NewTicker(time.Duration(watchInterval) * time.Second).C
31+
ticker = time.NewTicker(time.Duration(watchInterval) * time.Minute).C
3232
},
3333
RunE: func(cmd *cobra.Command, args []string) error {
3434
cmd.SilenceUsage = true

0 commit comments

Comments
 (0)