We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 394ceb9 + 3e4e73e commit 24c3940Copy full SHA for 24c3940
lib/zabbixapi/client.rb
@@ -51,7 +51,7 @@ def initialize(options = {})
51
@proxy_port = @proxy_uri.port
52
@proxy_user, @proxy_pass = @proxy_uri.userinfo.split(/:/) if @proxy_uri.userinfo
53
end
54
- unless api_version =~ /(2\.4|3\.[02])\.\d+/
+ unless api_version =~ /(2\.4|3\.[024]|4\.0)\.\d+/
55
raise ApiError.new("Zabbix API version: #{api_version} is not support by this version of zabbixapi")
56
57
@auth_hash = auth
0 commit comments