From 67ac15a68ab7dee8c0a880c44e8caaaf79b39310 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/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/protocol-tests/http.rb') diff --git a/lib/custodian/protocol-tests/http.rb b/lib/custodian/protocol-tests/http.rb index 445b192..c11e27a 100755 --- a/lib/custodian/protocol-tests/http.rb +++ b/lib/custodian/protocol-tests/http.rb @@ -67,7 +67,7 @@ class HTTPTest # 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