lib/magellan/cli/resources/worker.rb in magellan-cli-0.10.0 vs lib/magellan/cli/resources/worker.rb in magellan-cli-0.11.0

- old
+ new

@@ -29,10 +29,10 @@ "stage_version_id" => s["id"], "name" => name, "image_name" => image_name, }.update(attrs) } - post_json("/admin/#{self.resource_key}/new.json", params) + post_json("/admin/#{self.resource_key}/new.js", params) select(name) end desc "update ATTRIBUTES", I18n.t(:update, scope: [:resources, :worker, :cmd], resource_name: resource_name) def update(attrs)