Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kakdeykaushik committed Nov 14, 2024
1 parent bc04a30 commit 3c732b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/eval/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ func evalSLEEP(args []string, store *dstore.Store) []byte {
return clientio.RespOK
}

func evalCLIENT(args []string, httpOp bool, client *comm.Client, store *dstore.Store) []byte {
func evalCLIENT(args []string, client *comm.Client) []byte {
if len(args) == 0 {
return clientio.Encode(diceerrors.ErrWrongArgumentCount("CLIENT"), false)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/eval/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (e *Eval) ExecuteCommand() *EvalResponse {
// to the new implementation soon for all commands

case "CLIENT":
return &EvalResponse{Result: evalCLIENT(e.cmd.Args, e.isHTTPOperation, e.client, e.store), Error: nil}
return &EvalResponse{Result: evalCLIENT(e.cmd.Args, e.client), Error: nil}
case "SUBSCRIBE", "Q.WATCH":
return &EvalResponse{Result: EvalQWATCH(e.cmd.Args, e.isHTTPOperation, e.isWebSocketOperation, e.client, e.store), Error: nil}
case "UNSUBSCRIBE", "Q.UNWATCH":
Expand Down

0 comments on commit 3c732b6

Please sign in to comment.