chore: warn on deprecated network config

This commit is contained in:
andig 2022-08-08 11:55:22 +02:00
parent b589f68d7d
commit cbbf0b3790

View file

@ -152,7 +152,7 @@ func run(cmd *cobra.Command, args []string) {
// network config
if viper.GetString("uri") != "" {
log.ERROR.Println("`uri` is deprecated and will be ignored. Use `network` instead.")
log.WARN.Println("`uri` is deprecated and will be ignored. Use `network` instead.")
}
if cmd.PersistentFlags().Lookup("port").Changed {