From 80228fe67be7770bcfde361b9ec5eec54f0caa38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Tue, 14 Jan 2020 13:17:23 +0100 Subject: [PATCH] do not use beta api anymore --- x-pack/functionbeat/manager/gcp/template_builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/functionbeat/manager/gcp/template_builder.go b/x-pack/functionbeat/manager/gcp/template_builder.go index 1cbad561655..da13f8eb8d5 100644 --- a/x-pack/functionbeat/manager/gcp/template_builder.go +++ b/x-pack/functionbeat/manager/gcp/template_builder.go @@ -165,7 +165,7 @@ func (d *defaultTemplateBuilder) RawTemplate(name string) (string, error) { "resources": []common.MapStr{ common.MapStr{ "name": fmt.Sprintf(functionName, d.gcpConfig.ProjectID, d.gcpConfig.Location, name), - "type": "cloudfunctions.v1beta2.function", // TODO + "type": "google.cloud.functions.v1.CloudFunction", "properties": properties, }, },