arv-run-pipeline-instance doesn't submit nil Job parameters.
authorBrett Smith <brett@curoverse.com>
Tue, 8 Jul 2014 20:46:29 +0000 (16:46 -0400)
committerBrett Smith <brett@curoverse.com>
Tue, 8 Jul 2014 20:46:29 +0000 (16:46 -0400)
commitb5b0f8c9822435fa5faf0e59b65495806ea82dcb
treea11f338f5afda5e220ee6e5bcf16b4443763a75f
parent25e33b1caae27d60d8a915b708b431766d9eb7cd
arv-run-pipeline-instance doesn't submit nil Job parameters.

This is the same principle that we already take with POST parameters,
applied to the body of the Job itself.  It immediately prevents
sending nil runtime_constraints, which the API server doesn't accept.
It should also mean that any error messages passed on from the API
server are more likely to be helpful.

No issue # - reported by Abram on IRC.
sdk/cli/bin/arv-run-pipeline-instance