You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use several environment variables to configure the controlplane, and all of them are hardcoded in this function body.
We need to extract them as constants into the /internal/consts/controlplane.go file and reference them.
Furthermore, as we re-use the same code block many times, we should create an helper and pass the proper env var to perform the needed checks and assignment
Problem Statement
We use several environment variables to configure the controlplane, and all of them are hardcoded in this function body.
We need to extract them as constants into the
/internal/consts/controlplane.go
file and reference them.Furthermore, as we re-use the same code block many times, we should create an helper and pass the proper env var to perform the needed checks and assignment
Acceptance Criteria
The text was updated successfully, but these errors were encountered: