Skip to content

Commit 4b92fb2

Browse files
author
Gusted
committed
Enable deprecation error for v1.17.0
Per title
1 parent 4563148 commit 4b92fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/mirror.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func newMirror() {
3232
// - please note this was badly named and only disabled the creation of new pull mirrors
3333
if Cfg.Section("repository").Key("DISABLE_MIRRORS").MustBool(false) {
3434
log.Warn("Deprecated DISABLE_MIRRORS config is used, please change your config and use the options within the [mirror] section")
35-
// TODO: enable on v1.17.0: log.Error("Deprecated fallback used, will be removed in v1.18.0")
35+
log.Error("Deprecated fallback used, will be removed in v1.18.0")
3636
Mirror.DisableNewPull = true
3737
}
3838
if err := Cfg.Section("mirror").MapTo(&Mirror); err != nil {

0 commit comments

Comments
 (0)