From 350ad58c3184e23fdd7330c24b6e1628ff6f5c1f Mon Sep 17 00:00:00 2001 From: Lukas Zapletal Date: Tue, 22 Oct 2024 08:56:57 +0200 Subject: [PATCH] worker: use the new resolver API --- cmd/osbuild-worker/jobimpl-osbuild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/osbuild-worker/jobimpl-osbuild.go b/cmd/osbuild-worker/jobimpl-osbuild.go index 4bdc59ec34..e73706b1ff 100644 --- a/cmd/osbuild-worker/jobimpl-osbuild.go +++ b/cmd/osbuild-worker/jobimpl-osbuild.go @@ -518,7 +518,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error { if impl.RepositoryMTLSConfig != nil { if impl.RepositoryMTLSConfig.CA != "" { - extraEnv = append(extraEnv, fmt.Sprintf("OSBUILD_SOURCES_CURL_SSL_CLIENT_CERT=%s", impl.RepositoryMTLSConfig.CA)) + extraEnv = append(extraEnv, fmt.Sprintf("OSBUILD_SOURCES_CURL_SSL_CA_CERT=%s", impl.RepositoryMTLSConfig.CA)) } extraEnv = append(extraEnv, fmt.Sprintf("OSBUILD_SOURCES_CURL_SSL_CLIENT_KEY=%s", impl.RepositoryMTLSConfig.MTLSClientKey)) extraEnv = append(extraEnv, fmt.Sprintf("OSBUILD_SOURCES_CURL_SSL_CLIENT_CERT=%s", impl.RepositoryMTLSConfig.MTLSClientCert))