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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: Fix defaulting admin address if empty in config, fixes reload #4674

Merged
merged 1 commit into from Apr 3, 2022

Conversation

francislavoie
Copy link
Member

@francislavoie francislavoie commented Apr 2, 2022

Just a silly oops. Followup to #4443

I broke caddy reload when the admin address is not explicitly set in the config 馃槵 it would take the empty admin address if a --config is specified at all, and never fall through to use the default.

https://caddy.community/t/caddy-reload-failing/15556

@francislavoie francislavoie added the bug 馃悶 Something isn't working label Apr 2, 2022
@francislavoie francislavoie added this to the v2.5.0 milestone Apr 2, 2022
Copy link
Member

@mohammed90 mohammed90 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing that!

@francislavoie francislavoie merged commit 22d8edb into master Apr 3, 2022
@francislavoie francislavoie deleted the cmd-fix-reload branch April 3, 2022 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 馃悶 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants