Fixed type-o
This commit is contained in:
parent
b7743c9ea7
commit
dd9da85055
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue