Skip to content

Commit

Permalink
update message, based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Jan 21, 2025
1 parent 84ab609 commit 16da107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/task/install_package.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (c *InstallPackage) Execute(ctx context.Context) error {
_, stderr, err := exec.Execute(ctx, cmd, false)
if err != nil {
if bytes.Contains(stderr, []byte("command not found")) {
return errors.New("tar command was not found, please install it")
return errors.Errorf("tar command was not found on %s, please install it", c.host)
}
return errors.Annotatef(err, "stderr: %s", string(stderr))
}
Expand Down

0 comments on commit 16da107

Please sign in to comment.