lib/td/client/api/schedule.rb in td-client-0.8.78 vs lib/td/client/api/schedule.rb in td-client-0.8.79
- old
+ new
@@ -12,10 +12,10 @@
params = opts.update({:type=> opts[:type] || opts['type'] || 'hive'})
code, body, res = post("/v3/schedule/create/#{e name}", params)
if code != "200"
raise_error("Create schedule failed", res)
end
- js = checked_json(body, %w[start])
+ js = checked_json(body)
return js['start']
end
# @param [String] name
# @return [Array]