mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
fix new lint warnings
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -104,7 +104,7 @@ func (s *Service) Start(disableAWSInstallationCode bool) error {
|
||||
}
|
||||
}
|
||||
if !config.HasServicesToStart() {
|
||||
infoString := "no service configured, nothing to do"
|
||||
const infoString = "no service configured, nothing to do"
|
||||
logger.Info(logSender, "", infoString)
|
||||
logger.InfoToConsole(infoString)
|
||||
return errors.New(infoString)
|
||||
|
||||
Reference in New Issue
Block a user