diff options
author | John Cai <johncai@gitlab.com> | 2019-10-09 03:05:47 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-10-16 17:40:48 +0300 |
commit | 4105a3e5a1c471ad3a18315822f18b83cbb7e1f1 (patch) | |
tree | 467bf1d3f502546442a6d88501cb44ec7cb4432b /internal/praefect/protoregistry | |
parent | 0abe0dd4194621aec898fafda0f98403afe0799e (diff) |
Remove ListDirectories RPC
Diffstat (limited to 'internal/praefect/protoregistry')
-rw-r--r-- | internal/praefect/protoregistry/protoregistry_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/praefect/protoregistry/protoregistry_test.go b/internal/praefect/protoregistry/protoregistry_test.go index 569c304e1..eb21fcce1 100644 --- a/internal/praefect/protoregistry/protoregistry_test.go +++ b/internal/praefect/protoregistry/protoregistry_test.go @@ -171,7 +171,6 @@ func TestPopulatesProtoRegistry(t *testing.T) { "SSHUploadArchive": protoregistry.OpMutator, }, "StorageService": map[string]protoregistry.OpType{ - "ListDirectories": protoregistry.OpAccessor, "DeleteAllRepositories": protoregistry.OpMutator, }, "WikiService": map[string]protoregistry.OpType{ @@ -222,7 +221,7 @@ func TestMethodInfoScope(t *testing.T) { scope: protoregistry.ScopeRepository, }, { - method: "/gitaly.StorageService/ListDirectories", + method: "/gitaly.StorageService/DeleteAllRepositories", scope: protoregistry.ScopeStorage, }, { |