From aebfbb1f95bad33444b20bca0f8f47435e68b8bf Mon Sep 17 00:00:00 2001 From: Waldemar Quevedo Date: Mon, 7 Oct 2024 15:00:05 -0700 Subject: [PATCH] Update stream_command.go --- cli/stream_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/stream_command.go b/cli/stream_command.go index d4eda13f..fa6ca129 100644 --- a/cli/stream_command.go +++ b/cli/stream_command.go @@ -3039,7 +3039,7 @@ func (c *streamCmd) purgeAction(_ *fisk.ParseContext) (err error) { var req *api.JSApiStreamPurgeRequest if c.purgeKeep > 0 || c.purgeSubject != "" || c.purgeSequence > 0 { if c.purgeSequence > 0 && c.purgeKeep > 0 { - return fmt.Errorf("sequence and keep cannot be combined when purghing") + return fmt.Errorf("sequence and keep cannot be combined when purging") } req = &api.JSApiStreamPurgeRequest{