From e26d29b15c8012197c3ce72fc5dd75652daa38a6 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 14 Nov 2012 20:26:51 +0000 Subject: Ensure that our timeout period is an integer --- lib/custodian/protocol-tests/https.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/protocol-tests/https.rb') 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? -- cgit v1.2.1