worker: Add a missing CleanURL

This commit is contained in:
Quentin Machu 2015-11-18 15:02:07 -05:00
parent 915903c1c1
commit ac0e68efe7

View File

@ -117,7 +117,7 @@ func Process(ID, parentID, path string) error {
func detectContent(ID, path string, parent *database.Layer) (OS string, installedPackagesNodes, removedPackagesNodes []string, err error) { func detectContent(ID, path string, parent *database.Layer) (OS string, installedPackagesNodes, removedPackagesNodes []string, err error) {
data, err := getLayerData(path) data, err := getLayerData(path)
if err != nil { if err != nil {
log.Errorf("layer %s: failed to extract data from %s: %s", ID, path, err) log.Errorf("layer %s: failed to extract data from %s: %s", ID, utils.CleanURL(path), err)
return return
} }