Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Avoid references to rd.Port and rd.Host until after they are initialized. #51

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

jum
Copy link

@jum jum commented Nov 2, 2023

This is kind of a bandaid fix, the real solution would be to merge GetConfigValue and ReplaceEnvConfigCaddy into one function and sort the references to the variables according to the order how they are referenced.

@francislavoie
Copy link

Ah yeah I understand that. 👍 from me for now (I agree combining the two functions would be optimal but this is good enough).

@francislavoie
Copy link

FYI @gamalan when you find a few minutes, this is 👍 for me (it's a followup on a recent PR of mine)

@gamalan gamalan merged commit 553943f into gamalan:master Nov 6, 2023
@jum jum deleted the portfix branch November 6, 2023 19:37
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants