2755: Preserve blob signatures in manifest_text passed to collections.create.
authorTom Clegg <tom@curoverse.com>
Thu, 12 Jun 2014 19:00:13 +0000 (15:00 -0400)
committerTom Clegg <tom@curoverse.com>
Thu, 12 Jun 2014 19:00:13 +0000 (15:00 -0400)
sdk/cli/bin/crunch-job

index 167d3ddbe9074e3edba2716d6247f03bd642aba7..628fea8796ea9aa9a83e61b29203464abddf627d 100755 (executable)
@@ -830,9 +830,9 @@ if ($collated_output)
       }
       push(@manifest_lines, join(" ", @words));
     }
-    my $manifest_text = join("", @manifest_lines);
+    my $stripped_manifest_text = join("", @manifest_lines);
     my $output = $arv->{'collections'}->{'create'}->execute('collection' => {
-      'uuid' => md5_hex($manifest_text),
+      'uuid' => md5_hex($stripped_manifest_text),
       'manifest_text' => $manifest_text,
     });
     $Job->update_attributes('output' => $output->{uuid});