Sebastiaan van Stijn 7e71782ba6
cli/command/context: fix error-handling of skip-tls-verify
Before 2b9a4d5f4c9c4d749ecc208f34d212a2b1c45a08, this function
would use "errors.Wrap" which returns nil if the original error
was nil. fmt.Errorf does not do this, so without a nil check,
it would unconditionally return an error;

    docker context create arm64 --docker host=ssh://172.17.101.26,skip-tls-verify=False

    unable to create docker endpoint config: name: %!w(<nil>)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-02-20 17:49:58 +01:00
..
2022-04-25 14:40:24 +02:00
2025-02-03 12:18:10 +01:00
2025-02-03 12:18:10 +01:00
2024-11-12 12:38:18 +01:00
2024-11-12 12:38:18 +01:00
2025-02-03 19:19:18 +01:00
2025-02-03 12:18:10 +01:00
2025-02-03 12:18:10 +01:00