forked from Trustie/forgeplus
update
This commit is contained in:
parent
51e16f6d94
commit
36da6befd6
|
|
@ -68,6 +68,8 @@ module HuaweiCloud
|
|||
|
||||
def defects_summary(task_id,query)
|
||||
url = "https://codecheck-ext.#{@region}.myhuaweicloud.com/v2/tasks/#{task_id}/defects-summary?#{query}"
|
||||
Rails.logger.info "################### defects_detail params: #{query} ,url:#{url} "
|
||||
|
||||
resp = RestClient.get(url, @headers)
|
||||
JSON.parse(resp.body)
|
||||
rescue RestClient::ExceptionWithResponse => e
|
||||
|
|
|
|||
Loading…
Reference in New Issue