You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: google/appengine_gen2_flex.go
+4-8Lines changed: 4 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,12 @@ import (
16
16
"golang.org/x/oauth2"
17
17
)
18
18
19
-
var (
20
-
once sync.Once
21
-
22
-
logFunc=func() {
23
-
log.Print("google: AppEngineTokenSource is deprecated on App Engine standard second generation runtimes (>= Go 1.11) and App Engine flexible. Please use DefaultTokenSource or ComputeTokenSource.")
24
-
}
25
-
)
19
+
varlogOnce sync.Once// only spam about deprecation once
26
20
27
21
// See comment on AppEngineTokenSource in appengine.go.
log.Print("google: AppEngineTokenSource is deprecated on App Engine standard second generation runtimes (>= Go 1.11) and App Engine flexible. Please use DefaultTokenSource or ComputeTokenSource.")
0 commit comments