From cbea2adb18dfc7acdb5574f1d29e333527660b94 Mon Sep 17 00:00:00 2001 From: johnnyaug Date: Tue, 26 Sep 2023 17:49:12 +0300 Subject: [PATCH] fix compilation --- pkg/graveler/graveler.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/graveler/graveler.go b/pkg/graveler/graveler.go index 162fffda968..779fd25abf2 100644 --- a/pkg/graveler/graveler.go +++ b/pkg/graveler/graveler.go @@ -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.