提交 d3b86cfe 编写于 作者: M Medya Gh

improve logging

上级 efd4aabd
......@@ -186,7 +186,7 @@ func deleteProfile(profile *pkg_config.Profile) error {
errs := oci.DeleteAllContainersByLabel(oci.Docker, fmt.Sprintf("%s=%s", oci.ProfileLabelKey, profile.Name))
if errs != nil { // it will error if there is no container to delete
glog.Infof("no left over kic container for %s found to delete.", profile.Name, errs)
glog.Infof("no left over kic container for %s found to delete. %+v", profile.Name, errs)
}
errs = oci.DeleteAllVolumesByLabel(oci.Docker, fmt.Sprintf("%s=%s", oci.ProfileLabelKey, profile.Name))
if errs != nil { // it will not error if there is nothing to delete
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册