Fixed type-o

This commit is contained in:
Xavi Ramirez 2017-08-10 19:15:53 +00:00
parent b7743c9ea7
commit dd9da85055

View file

@ -233,7 +233,7 @@ func (kclp *KCLProcess) handleLine(line string) error {
case ActionShutdown: case ActionShutdown:
kclp.ioHandler.writeError("Received shutdown action...") kclp.ioHandler.writeError("Received shutdown action...")
// Shutdown should block until it's save to shutdown the process // Shutdown should block until it's safe to shutdown the process
err = kclp.recordProcessor.Shutdown(action.Reason) err = kclp.recordProcessor.Shutdown(action.Reason)
if err != nil { // Log error and continue shutting down if err != nil { // Log error and continue shutting down
kclp.ioHandler.writeError(fmt.Sprintf("ERR shutdown: %+#v", err)) kclp.ioHandler.writeError(fmt.Sprintf("ERR shutdown: %+#v", err))