From a2b421e8ec57bd6804710267a1b435c400177665 Mon Sep 17 00:00:00 2001 From: Bogdan Novykov Chumak Date: Wed, 26 Jun 2024 22:19:22 +0200 Subject: [PATCH] chore: metadata google compute platforms comment --- compute/metadata/metadata.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compute/metadata/metadata.go b/compute/metadata/metadata.go index cbdea5e61807..7c1343be9876 100644 --- a/compute/metadata/metadata.go +++ b/compute/metadata/metadata.go @@ -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