diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2022-06-30 10:16:23 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2022-06-30 10:16:23 +0300 |
commit | d54b3434575ee864beed61605fd43a508bb02477 (patch) | |
tree | fa52276534badd79adc9f4e0073f9736a1387d4c | |
parent | 705e7da14a6cda9a90539eb6a66659998dd9921b (diff) | |
parent | 3c751acadb0f59f0ac77495839ea6250506a345c (diff) |
Merge branch 'fix/log-empty-artifact' into 'master'
fix: stop logging an empty artifact server if the address is inferred
See merge request gitlab-org/gitlab-pages!794
-rw-r--r-- | internal/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index fcaa1d5e..354dcc98 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -369,7 +369,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, |