Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyaug committed Sep 26, 2023
1 parent aceb8fb commit cbea2ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/graveler/graveler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3233,8 +3233,6 @@ type GarbageCollectionManager interface {
type ProtectedBranchesManager interface {
// Delete deletes the rule for the given name pattern, or returns ErrRuleNotExists if there is no such rule.
Delete(ctx context.Context, repository *RepositoryRecord, branchNamePattern string) error
// Get returns the list of blocked actions for the given name pattern, or nil if no rule was defined for the pattern.
Get(ctx context.Context, repository *RepositoryRecord, branchNamePattern string) ([]BranchProtectionBlockedAction, error)
// GetRules returns all branch protection rules for the repository
GetRules(ctx context.Context, repository *RepositoryRecord) (*BranchProtectionRules, string, error)
// SetRules sets the branch protection rules for the repository.
Expand Down

0 comments on commit cbea2ad

Please sign in to comment.