diff options
author | John Cai <jcai@gitlab.com> | 2023-08-30 21:26:44 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2023-08-30 21:27:55 +0300 |
commit | 4a5a06dc018572027a7ccf3a047b3515506aef9e (patch) | |
tree | 135e0670f2bbc8eaf23e47f9fd0c393653d45963 | |
parent | e0f5aac979b770ab9dea403f7cb93450bd9e1b70 (diff) |
praefect: Remove unused test case field
The datalossCheck field was unused. Let's go ahead and remove it.
-rw-r--r-- | internal/cli/praefect/subcmd_accept_dataloss_test.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/cli/praefect/subcmd_accept_dataloss_test.go b/internal/cli/praefect/subcmd_accept_dataloss_test.go index 73b239615..33b9c0ba5 100644 --- a/internal/cli/praefect/subcmd_accept_dataloss_test.go +++ b/internal/cli/praefect/subcmd_accept_dataloss_test.go @@ -1,7 +1,6 @@ package praefect import ( - "context" "testing" "github.com/stretchr/testify/require" @@ -10,7 +9,6 @@ import ( "gitlab.com/gitlab-org/gitaly/v16/internal/praefect/service/info" "gitlab.com/gitlab-org/gitaly/v16/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v16/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb" ) func TestAcceptDatalossSubcommand(t *testing.T) { @@ -74,7 +72,6 @@ func TestAcceptDatalossSubcommand(t *testing.T) { desc string args []string virtualStorages []*config.VirtualStorage - datalossCheck func(context.Context, *gitalypb.DatalossCheckRequest) (*gitalypb.DatalossCheckResponse, error) output string matchError errorMatcher expectedGenerations map[string]int |