lib/zabbixapi/client.rb in zabbixapi-4.1.1 vs lib/zabbixapi/client.rb in zabbixapi-4.1.2
- old
+ new
@@ -51,10 +51,10 @@
@proxy_host = @proxy_uri.host
@proxy_port = @proxy_uri.port
@proxy_user, @proxy_pass = @proxy_uri.userinfo.split(/:/) if @proxy_uri.userinfo
end
unless api_version =~ %r{^4.[0|2]\.\d+$}
- log "[WARN] Zabbix API version: #{api_version} is not supported by this version of zabbixapi"
+ puts "[WARN] Zabbix API version: #{api_version} is not supported by this version of zabbixapi"
end
@auth_hash = auth
end