forked from toolshed/abra
refactor!: server add/rm has better UI/UX
Less confusing logging messages, clear "is created" / "already exists" output. Move the majority of logging to debug output to not confuse the situation. Some code cleanups also in there.
This commit is contained in:
@ -17,11 +17,11 @@ func CreateServerDir(serverName string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
logrus.Infof("%s already exists", serverPath)
|
||||
logrus.Debugf("%s already exists", serverPath)
|
||||
return nil
|
||||
}
|
||||
|
||||
logrus.Infof("successfully created %s", serverPath)
|
||||
logrus.Debugf("successfully created %s", serverPath)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user