Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2022-06-22 20:55:24 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2022-06-22 20:55:39 +0300
commit3c751acadb0f59f0ac77495839ea6250506a345c (patch)
tree925ff6ac0627ffc0324ec46c1c65e954782187e9 /internal
parent3fb57b7a2989b50ca4c9543ec86c1f5751cf1a41 (diff)
Fix logging an empty artifact server if the address is inferred
Diffstat (limited to 'internal')
-rw-r--r--internal/config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 18fe33eb..711ce7f6 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -356,7 +356,7 @@ func loadConfig() (*Config, error) {
func LogConfig(config *Config) {
log.WithFields(log.Fields{
- "artifacts-server": *artifactsServer,
+ "artifacts-server": config.ArtifactsServer.URL,
"artifacts-server-timeout": *artifactsServerTimeout,
"default-config-filename": flag.DefaultConfigFlagname,
"disable-cross-origin-requests": *disableCrossOriginRequests,