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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-28 15:09:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-28 15:09:11 +0300
commiteea806d673f060c2660c84ef8fe7f964824460de (patch)
tree35c76559074ef7d1b0135f9531ed77253b5cb1b5 /workhorse/internal
parentd81f7fc0b3c75a7c95528f21d55be2dd26521f2e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/internal')
-rw-r--r--workhorse/internal/upstream/upstream.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/workhorse/internal/upstream/upstream.go b/workhorse/internal/upstream/upstream.go
index 6d107fc28cd..fb511b5d456 100644
--- a/workhorse/internal/upstream/upstream.go
+++ b/workhorse/internal/upstream/upstream.go
@@ -217,19 +217,18 @@ func (u *upstream) pollGeoProxyAPI() {
func (u *upstream) callGeoProxyAPI() {
geoProxyData, err := u.APIClient.GetGeoProxyData()
if err != nil {
- log.WithError(err).WithFields(log.Fields{"geoProxyBackend": u.geoProxyBackend}).Error("Geo Proxy: Unable to determine Geo Proxy URL. Fallback on cached value.")
+ // Unable to determine Geo Proxy URL. Fallback on cached value.
return
}
hasProxyDataChanged := false
if u.geoProxyBackend.String() != geoProxyData.GeoProxyURL.String() {
- log.WithFields(log.Fields{"oldGeoProxyURL": u.geoProxyBackend, "newGeoProxyURL": geoProxyData.GeoProxyURL}).Info("Geo Proxy: URL changed")
+ // URL changed
hasProxyDataChanged = true
}
if u.geoProxyExtraData != geoProxyData.GeoProxyExtraData {
- // extra data is usually a JWT, thus not explicitly logging it
- log.Info("Geo Proxy: signed data changed")
+ // Signed data changed
hasProxyDataChanged = true
}