Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added missing )

  • Loading branch information...
commit ff2b1256982358214bc440902dbdc337c9dbfafd 1 parent 210648b
Milad Rastian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/scala/utils/ZenossAPI.scala
View
2  src/main/scala/utils/ZenossAPI.scala
@@ -82,7 +82,7 @@ class ZenossEvents (url: String, cookie: String, acceptUntrustedSSL:Boolean = fa
val addrEventConsole = "/zport/dmd/evconsole_router"
def eventsQuery : Option[JSONObject] = {
val l = """{"action":"EventsRouter","method":"query","data":[{"criteria":[{"prodState":"1000"}],"start":0,"limit":100,"dir":"DESC","sort":"lastTime","params":"{\"severity\":[5,4,3],\"eventState\":[0,1]}"}],"type":"rpc","tid":1}"""
- val res = HttpClient.Json("%s%s".format(url, addrEventConsole, new JSONObject(l), List(("Cookie", cookie)), acceptUntrustedSSL)
+ val res = HttpClient.Json("%s%s".format(url, addrEventConsole), new JSONObject(l), List(("Cookie", cookie)), acceptUntrustedSSL)
Log.d(res.toString)
if(res == None)
return None
Please sign in to comment.
Something went wrong with that request. Please try again.