runtime: spelling fixes

Minor spelling fixes in runtime log messages.

Signed-off-by: Mike Frisch <mikef17@gmail.com>
This commit is contained in:
Mike Frisch 2024-06-11 10:32:20 -04:00
parent b85b1c1058
commit c2f61b0fe3

View File

@ -457,7 +457,7 @@ func failOutstandingCommands(cmdQueue *list.List) {
cmd := e.Value.(*qmpCommand) cmd := e.Value.(*qmpCommand)
select { select {
case cmd.res <- qmpResult{ case cmd.res <- qmpResult{
err: errors.New("exitting QMP loop, command cancelled"), err: errors.New("exiting QMP loop, command cancelled"),
}: }:
case <-cmd.ctx.Done(): case <-cmd.ctx.Done():
} }
@ -626,7 +626,7 @@ func (q *QMP) executeCommandWithResponse(ctx context.Context, name string, args
resCh := make(chan qmpResult) resCh := make(chan qmpResult)
select { select {
case <-q.disconnectedCh: case <-q.disconnectedCh:
err = errors.New("exitting QMP loop, command cancelled") err = errors.New("exiting QMP loop, command cancelled")
case q.cmdCh <- qmpCommand{ case q.cmdCh <- qmpCommand{
ctx: ctx, ctx: ctx,
res: resCh, res: resCh,