Skip to content

Commit

Permalink
chore: metadata google compute platforms comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bgdnvk committed Jun 26, 2024
1 parent b9d2593 commit a2b421e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compute/metadata/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ var (
onGCE bool
)

// OnGCE reports whether this process is running on Google Compute Engine.
// Works for Cloud Run as well.
// OnGCE reports whether this process is running on Google Compute Platforms.
func OnGCE() bool {
onGCEOnce.Do(initOnGCE)
return onGCE
Expand Down

0 comments on commit a2b421e

Please sign in to comment.