From ad004a1671203e856054a7d643698440cfd1c2d4 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Tue, 2 Nov 2021 20:52:27 +0100 Subject: [PATCH] fix: remove 8 check --- pkg/srpmproc/process.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/srpmproc/process.go b/pkg/srpmproc/process.go index 7d3af85..ed43902 100644 --- a/pkg/srpmproc/process.go +++ b/pkg/srpmproc/process.go @@ -99,13 +99,6 @@ func gitlabify(str string) string { } func NewProcessData(req *ProcessDataRequest) (*data.ProcessData, error) { - switch req.Version { - case 8: - break - default: - return nil, fmt.Errorf("unsupported upstream version %d", req.Version) - } - // Set defaults if req.ModulePrefix == "" { req.ModulePrefix = ModulePrefixCentOS