From 6a46dca4eae4f88ec6f88822e01e5bf8aeca787f Mon Sep 17 00:00:00 2001 From: bog N Date: Thu, 27 Jun 2024 16:38:45 +0200 Subject: [PATCH] docs(compute/metadata): update OnGCE description (#10408) We are using the `metadata.OnGCE()` function to check if it runs on our Cloud Runs, this can be a helpful comment for others using the package. --- compute/metadata/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compute/metadata/metadata.go b/compute/metadata/metadata.go index f67e3c7eeae0..7c1343be9876 100644 --- a/compute/metadata/metadata.go +++ b/compute/metadata/metadata.go @@ -110,7 +110,7 @@ var ( onGCE bool ) -// OnGCE reports whether this process is running on Google Compute Engine. +// OnGCE reports whether this process is running on Google Compute Platforms. func OnGCE() bool { onGCEOnce.Do(initOnGCE) return onGCE