mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-22 19:17:52 +02:00
add link to docs in V2 configuration warning message.
This commit is contained in:
parent
3c787baa40
commit
007b55a32b
7 changed files with 7 additions and 7 deletions
|
@ -133,7 +133,7 @@ func (s *Desktop) SetV2() {
|
|||
|
||||
// set legacy flag if any V2 configuration was used
|
||||
if !viper.IsSet("legacy") && enableLegacy {
|
||||
log.Warn().Msg("legacy configuration is enabled because at least one V2 configuration was used, please migrate to V3 configuration, or set 'NEKO_LEGACY=true' to acknowledge this message")
|
||||
log.Warn().Msg("legacy configuration is enabled because at least one V2 configuration was used, please migrate to V3 configuration, visit https://neko.m1k1o.net/docs/v3/migration-from-v2 for more details")
|
||||
viper.Set("legacy", true)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue