aws-xray 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws/xray/hooks/net_http.rb +2 -2
- data/lib/aws/xray/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48c003ef91384dc1bd947ad31570ed0eb62d3a4b
|
4
|
+
data.tar.gz: cd71f1c2e020066aad941cc4e984a7d934483a74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c21f7a054689d984a00414068bb11440493dbe55e72853d2f4ba85d656c61b54de0eb73b25a191e94ca2e6499c8482c9bb2e184b36f8eac87bbb75d031fc95a2
|
7
|
+
data.tar.gz: 62606b9dab33242e795a8aca09739cb35a80b57f2450225ecc7e7cbb553b870bba53c37cb18011bd229c93ecca736dca685d356ae715eaf95bd5200e709db8c2
|
@@ -7,8 +7,8 @@ module Aws
|
|
7
7
|
NAME_HEADER = 'X-Aws-Xray-Name'.freeze
|
8
8
|
|
9
9
|
def request_with_aws_xray(req, *args, &block)
|
10
|
-
return request_without_aws_xray(req, *args) unless Context.started?
|
11
|
-
return request_without_aws_xray(req, *args) if Context.current.disabled?(:net_http)
|
10
|
+
return request_without_aws_xray(req, *args, &block) unless Context.started?
|
11
|
+
return request_without_aws_xray(req, *args, &block) if Context.current.disabled?(:net_http)
|
12
12
|
|
13
13
|
uri = URI('')
|
14
14
|
uri.scheme = use_ssl? ? 'https' : 'http'
|
data/lib/aws/xray/version.rb
CHANGED