fix(log): output version to log for debugging purpose (#1163)
This commit is contained in:
@@ -12,9 +12,12 @@ type pseudo struct {
|
||||
}
|
||||
|
||||
func detectPseudo(c config.ServerInfo) (itsMe bool, pseudo osTypeInterface, err error) {
|
||||
p := newPseudo(c)
|
||||
p.setDistro(config.ServerTypePseudo, "")
|
||||
return c.Type == config.ServerTypePseudo, p, nil
|
||||
if c.Type == config.ServerTypePseudo {
|
||||
p := newPseudo(c)
|
||||
p.setDistro(config.ServerTypePseudo, "")
|
||||
return true, p, nil
|
||||
}
|
||||
return false, nil, nil
|
||||
}
|
||||
|
||||
func newPseudo(c config.ServerInfo) *pseudo {
|
||||
|
||||
Reference in New Issue
Block a user