Skip to content

Commit

Permalink
Merge pull request #14529 from smithfarm/wip-19573-kraken
Browse files Browse the repository at this point in the history
kraken: rgw: Response header of swift API returned by radosgw does not contain x-openstack-request-id. But Swift returns it.

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
  • Loading branch information
smithfarm committed Jul 7, 2017
2 parents 6c3daeb + e571923 commit aaa7992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rgw/rgw_rest.cc
Expand Up @@ -644,6 +644,7 @@ void dump_trans_id(req_state *s)
{
if (s->prot_flags & RGW_REST_SWIFT) {
dump_header(s, "X-Trans-Id", s->trans_id);
dump_header(s, "X-Openstack-Request-Id", s->trans_id);
} else if (s->trans_id.length()) {
dump_header(s, "x-amz-request-id", s->trans_id);
}
Expand Down

0 comments on commit aaa7992

Please sign in to comment.