Skip to content

Don't try to apply web or worker config overrides if web_or_worker_yaml is nil#4828

Merged
jmhooper merged 1 commit intomainfrom
jmhooper-web-worker-yaml
Mar 23, 2021
Merged

Don't try to apply web or worker config overrides if web_or_worker_yaml is nil#4828
jmhooper merged 1 commit intomainfrom
jmhooper-web-worker-yaml

Conversation

@jmhooper
Copy link
Contributor

Why: If the web_or_worker_yml method returns nil, then we'll try to load configs from $IDP_BASE/config/. This doesn't work because a directory is not valid yaml.

…ml is nil

**Why**: If the `web_or_worker_yml` method returns `nil`, then we'll try to load configs from `$IDP_BASE/config/`. This doesn't work because a directory is not valid yaml.
Copy link
Contributor

@pauldoomgov pauldoomgov left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM, whoops, thanks for catching

@jmhooper jmhooper merged commit 951086a into main Mar 23, 2021
@jmhooper jmhooper deleted the jmhooper-web-worker-yaml branch March 23, 2021 22:25
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.

3 participants