pull/13520/head
Medya Gh 2022-01-31 15:18:04 -08:00
parent 7ba402742a
commit 8c6f9f64c7
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ func DeleteContainersByLabel(ociBin string, label string) []error {
// if it doesn't it means docker daemon is stuck and needs restart
if err != nil {
deleteErrs = append(deleteErrs, errors.Wrapf(err, "delete container %s: %s daemon is stuck. please try again!", c, ociBin))
klog.Errorf("%s daemon seems to be stuck. Please try restarting your %s. :%v", ociBin, ociBin, err)
klog.Errorf("%s daemon seems to be stuck. Please try restarting your %s :%v", ociBin, ociBin, err)
continue
}
if err := ShutDown(ociBin, c); err != nil {

View File

@ -46,7 +46,7 @@ func (d *Driver) getDomain() (*libvirt.Domain, *libvirt.Connect, error) {
func getConnection(connectionURI string) (*libvirt.Connect, error) {
conn, err := libvirt.NewConnect(connectionURI)
if err != nil {
return nil, errors.Wrap(err, "error connecting to libvirt socket.")
return nil, errors.Wrap(err, "connecting to libvirt socket")
}
return conn, nil

View File

@ -168,7 +168,7 @@ func (r *Containerd) Version() (string, error) {
c := exec.Command("containerd", "--version")
rr, err := r.Runner.RunCmd(c)
if err != nil {
return "", errors.Wrapf(err, "containerd check version.")
return "", errors.Wrapf(err, "containerd check version")
}
version, err := parseContainerdVersion(rr.Stdout.String())
if err != nil {