From 9a5d23a82dbbdba27f596d04cff5561691447b51 Mon Sep 17 00:00:00 2001 From: vjeffrey Date: Fri, 25 Aug 2023 10:44:44 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20ensure=20the=20subnetwork=20asse?= =?UTF-8?q?t=20name,=20not=20mql=20object=20name,=20is=20the=20one=20with?= =?UTF-8?q?=20the=20region=20suffix=20(#1581)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes https://github.com/mondoohq/cnquery/issues/1578 --- motor/discovery/gcp/mql_asset_objects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motor/discovery/gcp/mql_asset_objects.go b/motor/discovery/gcp/mql_asset_objects.go index 56f1d17532..3650779c5e 100644 --- a/motor/discovery/gcp/mql_asset_objects.go +++ b/motor/discovery/gcp/mql_asset_objects.go @@ -195,7 +195,7 @@ func computeSubnetworks(m *MqlDiscovery, project string, tc *providers.Config) ( gcpObject: gcpObject{ project: project, region: region, - name: subnetName, + name: s.Name, id: s.Id, service: "compute", objectType: "subnetwork",