Permalink
Browse files

added missing )

  • Loading branch information...
1 parent 210648b commit ff2b1256982358214bc440902dbdc337c9dbfafd Milad Rastian committed Nov 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit ff2b125

Please sign in to comment.