Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Conversation

@priyanka25081999
Copy link

@priyanka25081999 priyanka25081999 commented Sep 9, 2022

Problem Statement:
GET/HEAD Object API with version id of a delete marker gives 404 (NoSuchKey) error in the response.

Solution:
Modified the error code and error message of GET/HEAD object API response to 405 (MethodNotAllowed) in case of delete-marker.

Signed-off-by: Priyanka Salunke [email protected]

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@priyanka25081999
Copy link
Author

Signed-off-by: Priyanka Salunke <[email protected]>
Signed-off-by: Priyanka Salunke <[email protected]>
@priyanka25081999
Copy link
Author

@cdeshmukh cdeshmukh merged commit 1462e20 into Seagate:main Sep 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants