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

Add some nuance to the on-off logic for RESOURCE_SERVER #603

Merged
merged 3 commits into from
Sep 4, 2024

Conversation

AlanCoding
Copy link
Member

Due to dynaconf implementation details, I discovered that eda-server may set {"URL": None} for the RESOURCE_SERVER setting. This is totally fine with me, and should be the same as not defining that setting. But it requires this code change.

Fixes #602

@AlanCoding AlanCoding marked this pull request as ready for review September 4, 2024 14:15
@AlanCoding AlanCoding enabled auto-merge (squash) September 4, 2024 15:05
@AlanCoding AlanCoding merged commit 2af5f34 into ansible:devel Sep 4, 2024
10 checks passed
Copy link

sonarcloud bot commented Sep 4, 2024

AlanCoding added a commit that referenced this pull request Oct 8, 2024
While revisiting ansible/eda-server#1061, I
realized that `RESOURCE_SERVER_SYNC_ENABLED` is not set to True.

This will not work to do what we want.

As of #603, for any
practical system (excluding test_app specifically here), we will be safe
to have a True value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Means to silence log "Reverse sync will not be enabled"
2 participants