Add deprecation warning for omitting --host
This commit is contained in:
parent
8cbe984ba4
commit
f32e47b4c8
@ -87,6 +87,8 @@ func StartMainServer(addr string, db *db.Database, fs *db.FileStore, rawhost *st
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln(errors.Wrap(err, "could not parse host flag"))
|
log.Fatalln(errors.Wrap(err, "could not parse host flag"))
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
log.Println("warning: the --host flag will be required in the future")
|
||||||
}
|
}
|
||||||
rl := rushlink{
|
rl := rushlink{
|
||||||
db: db,
|
db: db,
|
||||||
|
Loading…
Reference in New Issue
Block a user