From 67183d6061f2191326f1964697dabe50a696ba1d Mon Sep 17 00:00:00 2001 From: Nicolas Lamirault Date: Tue, 12 Jan 2016 23:08:24 +0100 Subject: [PATCH] FIX typo Signed-off-by: Nicolas Lamirault --- worker/detectors/packages/dpkg.go | 2 +- worker/detectors/packages/pacman.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/worker/detectors/packages/dpkg.go b/worker/detectors/packages/dpkg.go index f33e94fd..8082ec2f 100644 --- a/worker/detectors/packages/dpkg.go +++ b/worker/detectors/packages/dpkg.go @@ -104,7 +104,7 @@ func (detector *DpkgPackagesDetector) Detect(data map[string][]byte) ([]*databas } // GetRequiredFiles returns the list of files required for Detect, without -// leading / +// the leading / func (detector *DpkgPackagesDetector) GetRequiredFiles() []string { return []string{"var/lib/dpkg/status"} } diff --git a/worker/detectors/packages/pacman.go b/worker/detectors/packages/pacman.go index 7cccbf61..82b6fb64 100644 --- a/worker/detectors/packages/pacman.go +++ b/worker/detectors/packages/pacman.go @@ -34,7 +34,6 @@ func init() { // Detect detects packages using /var/lib/pacman/local from the input data. func (detector *PacmanPackagesDetector) Detect(data map[string][]byte) ([]*database.Package, error) { - log.Errorf("Pacman: %v", data) db, hasFile := data["var/lib/pacman"] if !hasFile { return []*database.Package{}, nil @@ -71,7 +70,7 @@ func (detector *PacmanPackagesDetector) Detect(data map[string][]byte) ([]*datab } // GetRequiredFiles returns the list of files required for Detect, without -// leading / +// the leading / func (detector *PacmanPackagesDetector) GetRequiredFiles() []string { return []string{"var/lib/pacman"} }