lib/aliyun_green/image.rb in aliyun_green-0.1.3 vs lib/aliyun_green/image.rb in aliyun_green-0.1.4
- old
+ new
@@ -1,10 +1,10 @@
module AliyunGreen
module Image
class << self
def scan(tasks, **options)
check_tasks(tasks)
- response = AliyunGreen.client.post("/green/image/asyncscan", build_payload(tasks, options))
+ response = AliyunGreen.client.post("/green/image/scan", build_payload(tasks, options))
response
end
def scan_async(tasks, **options)
check_tasks(tasks)