deis / workflow-cli

The CLI for Deis Workflow
http://deis.com
MIT License
31 stars 43 forks source link

Get rid of stdin for deis config:push #305

Open pfeodrippe opened 7 years ago

pfeodrippe commented 7 years ago

The implementation of deis config:push here uses stdin to fetch the buffer, but it was causing me problems as you can see at this issue. Running the command inside a script which gets its inputs from stdin, I had to pipe it with < dev/null to get the correct result or it would give me Creating config... ...Error: Unknown Error (409): {"detail":"user changed nothing - release stopped"}.

Can something be made to correct it?

Joshua-Anderson commented 7 years ago

Looks like we need to switch code to check if a filename is provided before attempting to use stdin.

Cryptophobia commented 6 years ago

This issue was moved to teamhephy/workflow-cli#6