Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
update google-auth-library to 0.17.2 (#789)
Browse files Browse the repository at this point in the history
* update google-auth-library to 0.17.2

* fix use of deprecated method
  • Loading branch information
chingor13 committed Sep 26, 2019
1 parent 730497c commit 508cffc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dependencies.properties
Expand Up @@ -34,8 +34,8 @@ version.io_grpc=1.23.0
# 2) Replace all characters which are neither alphabetic nor digits with the underscore ('_') character
maven.com_google_api_grpc_proto_google_common_protos=com.google.api.grpc:proto-google-common-protos:1.15.0
maven.com_google_api_grpc_grpc_google_common_protos=com.google.api.grpc:grpc-google-common-protos:1.15.0
maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:0.17.1
maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:0.17.1
maven.com_google_auth_google_auth_library_oauth2_http=com.google.auth:google-auth-library-oauth2-http:0.17.2
maven.com_google_auth_google_auth_library_credentials=com.google.auth:google-auth-library-credentials:0.17.2
maven.io_opencensus_opencensus_api=io.opencensus:opencensus-api:0.23.0
maven.io_opencensus_opencensus_contrib_grpc_metrics=io.opencensus:opencensus-contrib-grpc-metrics:0.23.0
maven.io_opencensus_opencensus_contrib_http_util=io.opencensus:opencensus-contrib-http-util:0.24.0
Expand Down
Expand Up @@ -92,8 +92,7 @@ public void testImplicitParentSpan() {
new OpencensusTracerFactory(internalTracer, defaultSpanAttributes);

Span parentSpan = mock(Span.class);
Context origContext =
Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, parentSpan).attach();
Context origContext = ContextUtils.withValue(Context.current(), parentSpan).attach();

try {
factory.newTracer(
Expand Down Expand Up @@ -130,8 +129,7 @@ public void testExplicitParentOverridesImplicit() {
OpencensusTracer parentTracer =
new OpencensusTracer(internalTracer, parentSpan, OperationType.Unary);

Context origContext =
Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, parentSpan).attach();
Context origContext = ContextUtils.withValue(Context.current(), parentSpan).attach();

try {
factory.newTracer(parentTracer, SpanName.of("FakeClient", "FakeMethod"), OperationType.Unary);
Expand Down

0 comments on commit 508cffc

Please sign in to comment.