Skip to content

Move all configs to use Config for env and yaml#33

Merged
twarnock merged 2 commits intomasterfrom
update-config
Aug 13, 2019
Merged

Move all configs to use Config for env and yaml#33
twarnock merged 2 commits intomasterfrom
update-config

Conversation

@mbeacom
Copy link
Copy Markdown
Contributor

@mbeacom mbeacom commented Aug 13, 2019

The goal of this PR is to migrate all direct os.environ.get() specifically associated with CLOUDENDURE_ variables to use Config

Additionally, this PR removes cloudendure.cloudendure.CloudEndure.get_endpoint which is an unused duplicate of cloudendure.api.CloudEndureAPI.get_endpoint
Fixes #28

@mbeacom mbeacom added enhancement New feature or request python Python labels Aug 13, 2019
@mbeacom mbeacom added this to the CE Enhancements for 1.0.0 milestone Aug 13, 2019
@mbeacom mbeacom requested a review from twarnock August 13, 2019 13:26
@mbeacom mbeacom self-assigned this Aug 13, 2019
@mbeacom mbeacom changed the title Fix #28 - Move all configs to use Config for env and yaml Move all configs to use Config for env and yaml Aug 13, 2019
Copy link
Copy Markdown
Contributor

@twarnock twarnock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Runs well with env variables.

@twarnock twarnock merged commit c8c8652 into master Aug 13, 2019
@twarnock twarnock deleted the update-config branch August 13, 2019 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request python Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate all config items to config module

2 participants