improve logging

pull/6695/head
Medya Gh 2020-02-19 14:34:35 -08:00
parent efd4aabde4
commit d3b86cfeb9
1 changed files with 1 additions and 1 deletions

View File

@ -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