Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lxc/exec: Use operation to wait directly.
When a user calls `lxc exec` the CLI calls ExecInstance, which in turn attempts to set up an event listener to be used when interacting with the resulting operation. However, this fails in the case where a user does not have permission to view events in the project. Instead, we can use the returned operation ID to wait for it to complete directly via the API. Signed-off-by: Mark Laing <mark.laing@canonical.com>
- Loading branch information