Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix up handling of environment variables | Daniel J Walsh | 2017-11-20 |
| | | | | | | | | | | | | | | The way docker works is if a user specifies a non `-e Name=Value`, IE just a `-e Name`, then the environment variable Name from the clients OS.ENV is used. Also by default Docker containers run with the HOSTNAME environment set to the HOSTNAME specified for the container. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #21 Approved by: baude | ||
* | util_test.go: Unittests for util.go | baude | 2017-11-03 |
| | | | | | | Add unit tests for func StringInSlice. Signed-off-by: baude <bbaude@redhat.com> | ||
* | create_cli_test.go: Unittests | baude | 2017-11-03 |
Create unittests for the create_cli helper functions. As such, remove cli context usage from the functions to further divide between cli input and parsing. Also, simplifies unit testing. Signed-off-by: baude <bbaude@redhat.com> |