fix: remove 8 check

This commit is contained in:
Mustafa Gezen 2021-11-02 20:52:27 +01:00
parent 16e049c658
commit ad004a1671
Signed by: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -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