Skip to content

Commit 82d2925

Browse files
committed
deprecated msg on fallback usage
1 parent 3880209 commit 82d2925

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/setting/mirror.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func newMirror() {
3434

3535
// fallback to old config repository.DISABLE_MIRRORS
3636
if Cfg.Section("repository").Key("DISABLE_MIRRORS").MustBool(false) {
37+
log.Warn("Deprecated DISABLE_MIRRORS config is used, please change your config and use the optins within [mirror] section")
3738
Mirror.DisableNewPull = true
3839
}
3940

0 commit comments

Comments
 (0)