Update naming in log output from machine to target

This commit is contained in:
Chris Roberts 2021-05-25 13:25:33 -07:00 committed by Paul Hinze
parent 3cfa9e3b00
commit 26dbb5bda3
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -431,7 +431,7 @@ func (c *baseCommand) Do(ctx context.Context, f func(context.Context, Tasker) er
// Start with checking if we are running in a machine based scope
if len(c.targets) > 0 {
for _, m := range c.targets {
c.Log.Warn("running command on machine", "machine", m)
c.Log.Warn("running command on target", "target", m)
// If the context has been canceled, then bail
if err := ctx.Err(); err != nil {
return err