deis / deis/workflow-cli

Get rid of stdin for deis config:push

Open
#305 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
31
Forks
42
PR merge metrics
No merged PRs in 30d

Description

The implementation of `deis config:push` [here](https://github.com/deis/workflow-cli/blob/master/cmd/config.go#L238) uses `stdin` to fetch the buffer, but it was causing me problems as you can see at this [issue](https://github.com/concourse/concourse/issues/1192). 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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.