refactor: use central logger
This commit is contained in:
@ -5,7 +5,7 @@ import (
|
||||
"path"
|
||||
|
||||
"coopcloud.tech/abra/pkg/config"
|
||||
"github.com/sirupsen/logrus"
|
||||
"coopcloud.tech/abra/pkg/log"
|
||||
)
|
||||
|
||||
// CreateServerDir creates a server directory under ~/.abra.
|
||||
@ -17,11 +17,11 @@ func CreateServerDir(serverName string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
logrus.Debugf("%s already exists", serverPath)
|
||||
log.Debugf("%s already exists", serverPath)
|
||||
return nil
|
||||
}
|
||||
|
||||
logrus.Debugf("successfully created %s", serverPath)
|
||||
log.Debugf("successfully created %s", serverPath)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user