Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxd: Update copy op response body when source is snapshot (canonical#…
…14139) This PR updates the copy operation response body when using a snapshot as the source. Previously, the response body allocated the snapshot to `resources.instances` and `resources.containers`. This is not entirely accurate, so we now check to see if the source is a snapshot, and if so, we allocate it to `resources.instances_snapshots` instead of `resources.instances` and `resources.containers`. Closes canonical#13999.
- Loading branch information