diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-14 20:26:51 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-14 20:26:51 +0000 |
commit | e26d29b15c8012197c3ce72fc5dd75652daa38a6 (patch) | |
tree | ffe2cb3ef0d007a5abe6e611b41a25b8acaac772 /lib/custodian/protocol-tests/https.rb | |
parent | 5a1a8a9ecbfcfa90a09ce2a0006c39d97af9ee63 (diff) |
Ensure that our timeout period is an integer
Diffstat (limited to 'lib/custodian/protocol-tests/https.rb')
-rwxr-xr-x | lib/custodian/protocol-tests/https.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocol-tests/https.rb b/lib/custodian/protocol-tests/https.rb index ec2597b..fe0cd99 100755 --- a/lib/custodian/protocol-tests/https.rb +++ b/lib/custodian/protocol-tests/https.rb @@ -68,7 +68,7 @@ class HTTPSTest # Do the fetch, if this success then we'll have the # @status + @text setup # - if ( getURL(@test_data["target_host"], @test_data["timeout"] ) ) + if ( getURL(@test_data["target_host"], @test_data["timeout"].to_i ) ) # # Do we need to test for a HTTP status code? |