Skip to content

Commit

Permalink
Remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewgdewar committed Nov 3, 2023
1 parent 61ccda7 commit 3fb4995
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/dao/repository_configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 3fb4995

Please sign in to comment.