Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused config file handling from worker #1142

Conversation

zubron
Copy link
Contributor

@zubron zubron commented Jul 8, 2020

What this PR does / why we need it:
The LoadConfig function for the worker was configured to be able to
load configuration data from a file. However, the necessary viper
function
to load and read the file was never called. This functionality
has not worked since the initial commit and so it doesn't seem
necessary. This is now being removed in favour of only configuring the
worker via environment variables.

Signed-off-by: Bridget McErlean bmcerlean@vmware.com

The `LoadConfig` function for the worker was configured to be able to
load configuration data from a file. However, the necessary viper
function to load and read the file was never called. This functionality
has not worked since the initial commit and so it doesn't seem
necessary. This is now being removed in favour of only configuring the
worker via environment variables.

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
@zubron zubron merged commit 5f1730b into vmware-tanzu:master Jul 8, 2020
@zubron zubron deleted the remove-unused-config-file-handling-from-worker branch July 8, 2020 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant