migtools / crane-runner

Apache License 2.0
2 stars 11 forks source link

[BUG] input to optional field in clustertaks "crane-transform" is invalid #40

Closed JaydipGabani closed 2 years ago

JaydipGabani commented 2 years ago

Getting error while "crane-transform" cluster task is getting executed in the pipeline run.

What did you expect to happen? Expected to work transform without invalid input error

What actually happened? Getting error saying input to optional flag is invalid

STEP-CRANE-TRANSFORM

+ crane transform --ignored-patches-dir= --flags-file= '--optional-flags=[]' --export-dir=/var/crane/export --transform-dir=/var/crane/transform
Error: invalid argument "[]" for "--optional-flags" flag: [] must be formatted as key=value
djzager commented 2 years ago

Fixed by https://github.com/konveyor/crane-runner/pull/49