updater: remove useless error

This commit is contained in:
Quentin Machu 2016-02-14 04:14:19 -05:00 committed by Jimmy Zelinskie
parent 0e9a7e1740
commit 45ed80df1b

View File

@ -17,7 +17,6 @@ package rhel
import ( import (
"bufio" "bufio"
"encoding/xml" "encoding/xml"
"errors"
"io" "io"
"net/http" "net/http"
"regexp" "regexp"
@ -52,9 +51,6 @@ var (
rhsaRegexp = regexp.MustCompile(`com.redhat.rhsa-(\d+).xml`) rhsaRegexp = regexp.MustCompile(`com.redhat.rhsa-(\d+).xml`)
log = capnslog.NewPackageLogger("github.com/coreos/clair", "updater/fetchers/rhel") log = capnslog.NewPackageLogger("github.com/coreos/clair", "updater/fetchers/rhel")
// ErrCouldNotParse is returned when a fetcher fails to parse the update data.
ErrCouldNotParse = errors.New("updater/fetchers: could not parse")
) )
type oval struct { type oval struct {