Skip to content

Commit

Permalink
Merge pull request ceph#56704 from cbodley/wip-rgw-default-http-error
Browse files Browse the repository at this point in the history
rgw: don't map to EIO in rgw_http_error_to_errno()

Reviewed-by: Shilpa Jagannath <[email protected]>
  • Loading branch information
cbodley authored Apr 10, 2024
2 parents 92af5f2 + 37352a9 commit 17c90ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_http_errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ static inline int rgw_http_error_to_errno(int http_err)
case 503:
return -EBUSY;
default:
return -EIO;
return -ERR_INTERNAL_ERROR;
}

return 0; /* unreachable */
Expand Down

0 comments on commit 17c90ba

Please sign in to comment.