Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lxd-import] client: Always use event listener for operations.
When long polling the operation wait endpoint, we can never guarantee that the request will not time out for very long operations (e.g. an exec session) because intermediate proxies or load balancers may timeout the request if there is no activity. This commit changes the `useEventListener` argument to getOperations to true for all requests. Regardless of whether the `operation_wait` API extension is present. Signed-off-by: Mark Laing <mark.laing@canonical.com>
- Loading branch information