You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest following patches for
/usr/lib/ruby/gems/1.8/gems/zbxapi-0.2.415/zbxapi.rb
raise ZbxAPI_ExceptionVersion, "#{caller_func} requires API version #{major}.#{minor} or higher" if major>@major
raise ZbxAPI_ExceptionVersion, "#{caller_func} requires API version #{major}.#{minor} or higher" if minor>@minor
to
raise ZbxAPI_ExceptionVersion, "#{caller_func} requires API version #{major}.#{minor} or higher" if major>@major
raise ZbxAPI_ExceptionVersion, "#{caller_func} requires API version #{major}.#{minor} or higher" if ((major==@major)&&(minor>@minor))
"minor version check" only to be needed for "current major version is less or equal to required major version" .
Best regards.
The text was updated successfully, but these errors were encountered:
zbxapi raw_api function doesn't work with 2.0.4.
I got following error message
I suggest following patches for
/usr/lib/ruby/gems/1.8/gems/zbxapi-0.2.415/zbxapi.rb
to
"minor version check" only to be needed for "current major version is less or equal to required major version" .
Best regards.
The text was updated successfully, but these errors were encountered: