Skip to content

Commit

Permalink
Merge pull request #530 from nats-io/JMS-529
Browse files Browse the repository at this point in the history
fix: deny-delete in interactive prompts overriding deny-purge
  • Loading branch information
codegangsta authored Jul 14, 2022
2 parents 4ae164c + 5338aac commit dc9202e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/stream_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ func (c *streamCmd) prepareConfig(pc *fisk.ParseContext, requireSize bool) api.S
}

if !c.denyDeleteSet {
c.denyPurge, err = askConfirmation("Allow message deletion", true)
c.denyDelete, err = askConfirmation("Allow message deletion", true)
fisk.FatalIfError(err, "invalid input")
}

Expand Down

0 comments on commit dc9202e

Please sign in to comment.