worker: log proxy setting

This commit is contained in:
Lukas Zapletal 2024-11-18 15:17:10 +01:00 committed by Sanne Raymaekers
parent 86f903339a
commit 03e74e77b2

View file

@ -83,6 +83,7 @@ func (impl *OSTreeResolveJobImpl) Run(job worker.Job) error {
if match, err := impl.CompareBaseURL(s.URL); match && err == nil {
if impl.RepositoryMTLSConfig.Proxy != nil {
reqParams.Proxy = impl.RepositoryMTLSConfig.Proxy.String()
logWithId.Infof("Using proxy for OSTree resolving: %s", reqParams.Proxy)
}
reqParams.MTLS = &ostree.MTLS{
CA: impl.RepositoryMTLSConfig.CA,