chore(log): Add more logging
This commit is contained in:
@@ -115,7 +115,9 @@ func RestartUnitByName(name string) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = conn.RestartUnit(name, "replace")
|
output, err = conn.RestartUnit(name, "replace")
|
||||||
|
log.Printf("Restart completed with '%s'", output)
|
||||||
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user