diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-06-02 14:48:00 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-06-02 14:48:10 +0300 |
commit | e281682390728361887e13f482428ae922e848b3 (patch) | |
tree | b08dcecb32fdc6a9c7f3104a9f1c22c6a634f150 /app.go | |
parent | 69073505e0cc158c352180f404b7519361ceec6f (diff) |
Remove unused empty check on artifacts server URL
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -421,9 +421,7 @@ func runApp(config *cfg.Config) error { return fmt.Errorf("failed to initialize logging: %w", err) } - if config.ArtifactsServer.URL != "" { - a.Artifact = artifact.New(config.ArtifactsServer.URL, config.ArtifactsServer.TimeoutSeconds, config.General.Domain) - } + a.Artifact = artifact.New(config.ArtifactsServer.URL, config.ArtifactsServer.TimeoutSeconds, config.General.Domain) if err := a.setAuth(config); err != nil { return err |