update endpoint for google compute engine

This commit is contained in:
Pascal Fischer
2024-02-08 16:05:06 +01:00
parent ab9af8ba99
commit 72f44d7fd7
+1 -1
View File
@@ -5,7 +5,7 @@ import (
)
func detectGCE() string {
r, err := http.NewRequest("GET", "http://metadata.google.internal/computeMetadata/v1/instance/tags", nil)
r, err := http.NewRequest("GET", "http://metadata.google.internal", nil)
if err != nil {
return ""
}