Skip to content

Commit 710b41c

Browse files
committed
Merge pull request #12 from ThomasRasmussen/master
A couple of fixes to support zenoss 4.2.5
2 parents 0404072 + db65138 commit 710b41c

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.3
1+
0.5.5

lib/zenoss/connection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def sign_in(user,pass)
5454
resp = @httpcli.post login_path, login_parms
5555
if(resp.status == 302)
5656
login_path = resp.header['Location'].first
57+
login_path = "#{@zenoss_uri}/#{login_path}"
5758
resp = @httpcli.post login_path, login_parms
5859
raise ZenossError, "(HTTP Response #{resp.status}) Could not authenticate to #{@zenoss_uri}" unless resp.status == 200
5960
end

lib/zenoss/jsonapi/events_router.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def ev_query(uid, opts)
6868
:start => opts[:start],
6969
:sort => opts[:sort],
7070
:dir => opts[:dir],
71-
:history => opts[:history],
7271
}
7372
data[:uid] = uid unless uid.nil?
7473
data[:params] = opts[:params] if opts.has_key?(:params)

0 commit comments

Comments
 (0)