From 074324acbe432455d83ffda6062c674c2f84fa61 Mon Sep 17 00:00:00 2001 From: Islam Aleiv Date: Mon, 1 Jul 2024 09:28:24 +0200 Subject: [PATCH] Remove unnecessary cli flag --- tests/clients/cli/wrapper.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/clients/cli/wrapper.go b/tests/clients/cli/wrapper.go index b1fdae8a8a..18e306c0f4 100644 --- a/tests/clients/cli/wrapper.go +++ b/tests/clients/cli/wrapper.go @@ -31,7 +31,6 @@ import ( "github.com/sourcenetwork/defradb/datastore" "github.com/sourcenetwork/defradb/event" "github.com/sourcenetwork/defradb/http" - "github.com/sourcenetwork/defradb/internal/encryption" "github.com/sourcenetwork/defradb/net" ) @@ -400,11 +399,6 @@ func (w *Wrapper) ExecRequest( result := &client.RequestResult{} - encCond := encryption.GetContextConfig(ctx) - if encCond.HasValue() && encCond.Value().IsEncrypted { - args = append(args, "--encrypt") - } - stdOut, stdErr, err := w.cmd.executeStream(ctx, args) if err != nil { result.GQL.Errors = []error{err}