From 45ed80df1b455b094ad2d6911b47010e228f3760 Mon Sep 17 00:00:00 2001 From: Quentin Machu Date: Sun, 14 Feb 2016 04:14:19 -0500 Subject: [PATCH] updater: remove useless error --- updater/fetchers/rhel/rhel.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/updater/fetchers/rhel/rhel.go b/updater/fetchers/rhel/rhel.go index bdbe918d24..de4072d12a 100644 --- a/updater/fetchers/rhel/rhel.go +++ b/updater/fetchers/rhel/rhel.go @@ -17,7 +17,6 @@ package rhel import ( "bufio" "encoding/xml" - "errors" "io" "net/http" "regexp" @@ -52,9 +51,6 @@ var ( rhsaRegexp = regexp.MustCompile(`com.redhat.rhsa-(\d+).xml`) 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 {