Skip to content

Default the proxy config if it is nil#1559

Merged
djmb merged 1 commit intomainfrom
default-proxy-config-if-nil
May 15, 2025
Merged

Default the proxy config if it is nil#1559
djmb merged 1 commit intomainfrom
default-proxy-config-if-nil

Conversation

@djmb
Copy link
Collaborator

@djmb djmb commented May 15, 2025

Instead of checking for the proxy key, we'll set the config to {} if it is nil in the Kamal::Configuration::Proxy initializer.

This is a bit cleaner, and maybe it will help with #1555 if somehow @raw_config.key?(:proxy) is false but @raw_config.proxy is not nil.

Instead of checking for the proxy key, we'll set the config to {} if it
is nil in the Kamal::Configuration::Proxy initializer.

This is a bit cleaner, and maybe it will help with
#1555 if somehow
@raw_config.key?(:proxy) is false but @raw_config.proxy is not nil.
@djmb djmb changed the title Default the proxy config is it is nil Default the proxy config if it is nil May 15, 2025
@djmb djmb merged commit d6459e8 into main May 15, 2025
9 of 11 checks passed
@djmb djmb deleted the default-proxy-config-if-nil branch May 15, 2025 13:47
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