From 7ac08e0ad1afbf49039d0576b0caf268a6b52ef5 Mon Sep 17 00:00:00 2001 From: cmasone-attic Date: Wed, 8 Mar 2017 08:08:01 -0800 Subject: [PATCH] the ID is in the _response_ (#3260) --- go/nbs/s3_table_reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/nbs/s3_table_reader.go b/go/nbs/s3_table_reader.go index 22bfcb9653..c50e9e1cf5 100644 --- a/go/nbs/s3_table_reader.go +++ b/go/nbs/s3_table_reader.go @@ -95,7 +95,7 @@ func (s3tr *s3TableReader) readRange(p []byte, rangeHeader string) (n int, err e if impl, ok := s3tr.s3.(*s3.S3); ok { req, result := impl.GetObjectRequest(input) err := req.Send() - return result, req.RequestID, req.HTTPRequest.Header.Get("x-amz-id-2"), err + return result, req.RequestID, req.HTTPResponse.Header.Get("x-amz-id-2"), err } result, err := s3tr.s3.GetObject(input) return result, "FAKE", "FAKE", err