Skip to content

Commit

Permalink
chore(logging): trigger correct release semver (#3929)
Browse files Browse the repository at this point in the history
Release-As: 1.4.0
  • Loading branch information
0xSage committed Apr 14, 2021
1 parent 9029071 commit ae28676
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logging/logging.go
Expand Up @@ -366,7 +366,8 @@ func detectCloudFunction() *mrpb.MonitoredResource {
func detectResource() *mrpb.MonitoredResource {
detectedResource.once.Do(func() {
switch {
// AppEngine, Functions, CloudRun need to come first, as metadata.OnGCE() returns true on these runtimes.
// AppEngine, Functions, CloudRun are detected first, as metadata.OnGCE()
// erroneously returns true on these runtimes.
case os.Getenv("GAE_ENV") == "standard":
detectedResource.pb = detectGAEResource()
case isCloudFunction():
Expand Down

0 comments on commit ae28676

Please sign in to comment.