diff --git a/internal/server/dev.go b/internal/server/dev.go index de071895..f57e7c83 100644 --- a/internal/server/dev.go +++ b/internal/server/dev.go @@ -77,11 +77,12 @@ func (c *Server) cmdMassInsert(msg *Message) (res resp.Value, err error) { return NOMessage, errInvalidArgument(snumPoints) } docmd := func(args []string) error { - nmsg := &Message{} - *nmsg = *msg + var nmsg Message + nmsg = *msg + nmsg._command = "" nmsg.Args = args var d commandDetails - _, d, err = c.command(nmsg, nil) + _, d, err = c.command(&nmsg, nil) if err != nil { return err }