redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

admin_server: added missing mapping from rpc errors to http status codes

Open mmaslankaprv opened this issue 3 years ago • 0 comments

Cover letter

Added mapping from rpc::errc error codes to HTTP response codes.

Describe in plain language the motivation (bug, feature, etc.) behind the change in this PR and how the included commits address it.

Fixes #ISSUE-NUMBER, Fixes #ISSUE-NUMBER, ...

Backport Required

  • [ ] not a bug fix
  • [ ] papercut/not impactful enough to backport
  • [ ] v22.2.x
  • [ ] v22.1.x
  • [ ] v21.11.x

UX changes

Describe in plain language how this PR affects an end-user. What topic flags, configuration flags, command line flags, deprecation policies etc are added/changed.

Release notes

mmaslankaprv avatar Aug 09 '22 11:08 mmaslankaprv

Should this be in v22.2.x branch and hence need backporting before v22.2 is cut, @mmaslankaprv ? cc: @mmedenjak

piyushredpanda avatar Aug 10 '22 23:08 piyushredpanda

/backport v22.2.x

mmaslankaprv avatar Aug 11 '22 06:08 mmaslankaprv

Can you add the release notes, please.

BenPope avatar Aug 11 '22 15:08 BenPope