fix: [CDE-268]: add space path in resource input for update API (#2798)

* use parent space path
* add space path in resource input for update API
pull/3571/head
Kapil Garg 2024-10-10 06:43:41 +00:00 committed by Harness
parent f4659a0c31
commit 45be4fb7cb
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ func mapToResourceEntity(in []ResourceInput, parentSpace types.Space, now int64)
Metadata: res.Metadata,
Created: now,
Updated: now,
SpacePath: parentSpace.Path,
}
resources = append(resources, infraProviderResource)
}