Skip to content

Commit

Permalink
Merge branch 'master' of github.com:express42/zabbixapi
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Dubicki committed Dec 16, 2018
2 parents 394ceb9 + 3e4e73e commit 24c3940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zabbixapi/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def initialize(options = {})
@proxy_port = @proxy_uri.port
@proxy_user, @proxy_pass = @proxy_uri.userinfo.split(/:/) if @proxy_uri.userinfo
end
unless api_version =~ /(2\.4|3\.[02])\.\d+/
unless api_version =~ /(2\.4|3\.[024]|4\.0)\.\d+/
raise ApiError.new("Zabbix API version: #{api_version} is not support by this version of zabbixapi")
end
@auth_hash = auth
Expand Down

0 comments on commit 24c3940

Please sign in to comment.