From 63894e56810431f8a45d381f4ffb123da1a1b8e0 Mon Sep 17 00:00:00 2001 From: Patrick Jones Date: Wed, 4 Aug 2021 14:43:05 -0700 Subject: [PATCH] Update example_test.go --- google/downscope/example_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/google/downscope/example_test.go b/google/downscope/example_test.go index 475efc2..138b9f4 100644 --- a/google/downscope/example_test.go +++ b/google/downscope/example_test.go @@ -31,6 +31,7 @@ func ExampleNewTokenSource() { dts, err := downscope.NewTokenSource(ctx, downscope.DownscopingConfig{RootSource: rootSource, Rules: accessBoundary}) if err != nil { fmt.Printf("failed to generate downscoped token source: %v", err) + return } // Enables automatic token refreshing