3373: arv-run-pipeline-instance: removed .to_json where objects are supplied to ...
[arvados.git] / sdk / cli / bin / arv-run-pipeline-instance
index ab3702cafc02b86825c3739ff63901828def793d..0fdf27d96ff5ea9a3d56e462d9f6e9a5f6f646fd 100755 (executable)
@@ -244,7 +244,7 @@ class PipelineInstance
   def self.create(attributes)
     result = $client.execute(:api_method => $arvados.pipeline_instances.create,
                              :body_object => {
-                               :pipeline_instance => attributes.to_json
+                               :pipeline_instance => attributes
                              },
                              :authenticated => false,
                              :headers => {
@@ -263,7 +263,7 @@ class PipelineInstance
                                :uuid => @pi[:uuid]
                              },
                              :body_object => {
-                               :pipeline_instance => @attributes_to_update.to_json
+                               :pipeline_instance => @attributes_to_update
                              },
                              :authenticated => false,
                              :headers => {