Tiny optimization for handling string output from server console

This commit is contained in:
Dane Everitt
2020-11-12 21:41:35 -08:00
parent f81e35d960
commit e2872e786e
2 changed files with 15 additions and 4 deletions

View File

@@ -183,7 +183,7 @@ func (e *Environment) WaitForStop(seconds uint, terminate bool) error {
case <-ctx.Done():
if ctxErr := ctx.Err(); ctxErr != nil {
if terminate {
log.WithField("container_id", e.Id).Debug("server did not stop in time, executing process termination")
log.WithField("container_id", e.Id).Info("server did not stop in time, executing process termination")
return errors.WithStackIf(e.Terminate(os.Kill))
}