Skip to content

Commit

Permalink
Enable deprecation error for v1.17.0
Browse files Browse the repository at this point in the history
Per title
  • Loading branch information
Gusted committed Jan 20, 2022
1 parent 4563148 commit 4b92fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/setting/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4b92fb2

Please sign in to comment.