mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #15286 from wanyaoqi/hotfix/deploy-telegraf-error-info
fix(host-deployer): add deploy telegraf error info
This commit is contained in:
@@ -658,7 +658,7 @@ func (d *sLinuxRootFs) DeployTelegraf(config string) (bool, error) {
|
||||
fmt.Sprintf("(crontab -l 2>/dev/null; echo '%s') |crontab -", cronJob),
|
||||
).Output()
|
||||
if err != nil {
|
||||
return false, errors.Wrapf(err, "add crontab")
|
||||
return false, errors.Wrapf(err, "add crontab %s", output)
|
||||
}
|
||||
return true, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user