Skip to content

Commit

Permalink
Merge pull request #273 from n0coast/master
Browse files Browse the repository at this point in the history
adding appropriate 'type' to sleep variable in contrib/update-storage-times.py
  • Loading branch information
piotr1212 authored Jan 10, 2019
2 parents ad48a5b + 3bf4d7e commit 93d18d4
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', 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 93d18d4

Please sign in to comment.