From 4b92fb2c4b0e91261c54dfb14a0ce9b73e406a9a Mon Sep 17 00:00:00 2001 From: Gusted Date: Thu, 20 Jan 2022 14:22:23 +0100 Subject: [PATCH] Enable deprecation error for v1.17.0 Per title --- modules/setting/mirror.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setting/mirror.go b/modules/setting/mirror.go index b0d5b2a4dcd7..f3db27e01893 100644 --- a/modules/setting/mirror.go +++ b/modules/setting/mirror.go @@ -32,7 +32,7 @@ func newMirror() { // - please note this was badly named and only disabled the creation of new pull mirrors if Cfg.Section("repository").Key("DISABLE_MIRRORS").MustBool(false) { log.Warn("Deprecated DISABLE_MIRRORS config is used, please change your config and use the options within the [mirror] section") - // TODO: enable on v1.17.0: log.Error("Deprecated fallback used, will be removed in v1.18.0") + log.Error("Deprecated fallback used, will be removed in v1.18.0") Mirror.DisableNewPull = true } if err := Cfg.Section("mirror").MapTo(&Mirror); err != nil {