NetworkManager/clients
Thomas Haller 399c04e810
cloud-setup: fix handling cancellation of internal GET operation for EC2 provider
There are two GCancellable at work: one is provided by the user
during nmcs_provider_get_config(), and one is used internally for the
individual HTTP GET requests.

In _get_config_fetch_done_cb(), if the error reason is "cancelled",
then it means that our internal iface_data->cancellable was cancelled.
Probably because an error happend (like a timeout or the user cancelled
the external GCancellable).

In that case, we must not report that the task completed with a
cancellation, because we need to preserve the error that was the
original cause.
2020-12-11 17:36:37 +01:00
..
cli veth: add support to configure veth interfaces 2020-11-27 10:12:36 +01:00
cloud-setup cloud-setup: fix handling cancellation of internal GET operation for EC2 provider 2020-12-11 17:36:37 +01:00
common veth: add support to configure veth interfaces 2020-11-27 10:12:36 +01:00
tests Correct python black rules 2020-10-29 09:35:10 +01:00
tui all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
meson.build docs: generate nm-settings-docs-nmcli.xml based on nmcli meta data 2020-06-11 10:53:50 +02:00
nm-online.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00