mirror of https://github.com/harness/drone.git
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 APIpull/3571/head
parent
f4659a0c31
commit
45be4fb7cb
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue