Skip to content

Commit

Permalink
Remove unnecessary cli flag
Browse files Browse the repository at this point in the history
  • Loading branch information
islamaliev committed Jul 1, 2024
1 parent 229ff65 commit 074324a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/clients/cli/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 074324a

Please sign in to comment.