lib/cloudkick/node.rb in cloudkick-0.2.10 vs lib/cloudkick/node.rb in cloudkick-0.2.11

- old
+ new

@@ -32,10 +32,10 @@ @status = status @tags = tags end def check(type=nil) - resp, data = access_token.get("/1.0/query/node/#{@id}/check/mem") + resp, data = access_token.get("/1.0/query/node/#{@id}/check/#{type}") Crack::JSON.parse(data) end end