From 3fb49950c36c4f6dc607145f534f4a2610fe51fc Mon Sep 17 00:00:00 2001 From: Andrew Dewar Date: Fri, 3 Nov 2023 10:50:21 -0600 Subject: [PATCH] Remove whitespace --- pkg/dao/repository_configs.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/dao/repository_configs.go b/pkg/dao/repository_configs.go index 413d3e049..8ef769f9e 100644 --- a/pkg/dao/repository_configs.go +++ b/pkg/dao/repository_configs.go @@ -171,7 +171,6 @@ func (r repositoryConfigDaoImpl) bulkCreate(tx *gorm.DB, newRepositories []api.R tx.SavePoint("beforecreate") for i := 0; i < size; i++ { - if newRepoConfigs[i].OrgID == config.RedHatOrg { errorList[i] = errors.New("Creating of Red Hat repositories is not permitted") tx.RollbackTo("beforecreate") @@ -219,7 +218,6 @@ func (r repositoryConfigDaoImpl) bulkCreate(tx *gorm.DB, newRepositories []api.R return responses, []error{} } return []api.RepositoryResponse{}, errorList - } func (p repositoryConfigDaoImpl) InternalOnly_ListReposToSnapshot() ([]models.RepositoryConfiguration, error) {