Commit 6f9e093b by 陈雨佳

options[:type] => options[:query][:type]

parent 3c26e88e
......@@ -28,14 +28,14 @@ module AliyunLogRubySdk
def get_logs(options = {})
options[:query] ||= {}
options[:type] = 'log'
options[:query][:type] = 'log'
get("/logstores/#{log_store_name}", options)
end
def get_histograms(options = {})
options[:query] ||= {}
options[:type] = 'histogram'
options[:query][:type] = 'histogram'
get("/logstores/#{log_store_name}", options)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment