Skip to content

Commit

Permalink
adding appropriate 'type' to sleep variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Tade committed Jan 10, 2019
1 parent 3369e7e commit 3bf4d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/update-storage-times.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def cli_opts():
parser.add_argument('--bindir', action='store', dest='bindir',
help="The root path to whisper-resize.py and whisper-info.py",
default='/opt/graphite/bin')
parser.add_argument('--sleep', action='store', type=int, dest='sleep',
parser.add_argument('--sleep', action='store', type=float, dest='sleep',
help="Sleep this amount of time in seconds between metric comparisons",
default=0.3)
return parser.parse_args()
Expand Down

0 comments on commit 3bf4d7e

Please sign in to comment.