NetworkManager/clients/cloud-setup
Thomas Haller 2582694b46
cloud-setup: cleanup error handling in GCP provider
- drop GCPData.success field. It is redundant to have GCPData.error set.
  Also, it's meaningless to indicate failure, if we don't have an error
  at hand.

- ensure that we keep the first error passed during
  _get_config_maybe_task_return(). Once we set an error, that error gets
  returned. There is a twist here, that we prefer cancellation errors
  over other error reasons.

- in _get_config_fip_cb(), ensure to call _get_config_maybe_task_return()
  even if we are not yet ready. That is useful to record a potential
  error.
2020-07-30 09:18:40 +02:00
..
90-nm-cloud-setup.sh cloud-setup: let dispatcher script run tool only if service is enabled 2019-12-03 16:18:33 +01:00
main.c cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
meson.build cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
nm-cloud-setup-utils.c cloud-setup: don't require delimiter in 'nmcs_utils_hwaddr_normalize' 2020-07-14 19:10:29 +02:00
nm-cloud-setup-utils.h cloud-setup/trivial: rename timeout_ms to timeout_msec 2019-12-13 16:54:40 +01:00
nm-cloud-setup.service.in cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
nm-cloud-setup.timer cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-http-client.c cloud-setup: fix invalid assertion in nm_http_client_get_finish() 2020-07-03 19:03:32 +02:00
nm-http-client.h nmcs-http: add param to GET API to set custom HTTP headers 2020-06-26 16:47:56 +02:00
nmcs-provider-azure.c cloud-setup: fix the host address for azure 2020-07-30 09:16:42 +02:00
nmcs-provider-azure.h cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
nmcs-provider-ec2.c cloud-setup: don't check redundant error results from nm_http_client_poll_get_finish() 2020-07-03 10:34:29 +02:00
nmcs-provider-ec2.h cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nmcs-provider-gcp.c cloud-setup: cleanup error handling in GCP provider 2020-07-30 09:18:40 +02:00
nmcs-provider-gcp.h nmcs-gcp: add support for Google Cloud Platform load balancers 2020-06-26 16:47:56 +02:00
nmcs-provider.c nmcs-main: support adding additional routes 2020-06-26 16:47:56 +02:00
nmcs-provider.h nmcs-main: support adding additional routes 2020-06-26 16:47:56 +02:00