From b248541c885b566a45432274f38a0e6661340bdd Mon Sep 17 00:00:00 2001 From: Damien Baty Date: Tue, 2 Jul 2024 22:45:50 +0200 Subject: [PATCH] cli: Fix error message when the host platform is unknown --- src/cogite/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogite/cli.py b/src/cogite/cli.py index 36d990d..bce2208 100644 --- a/src/cogite/cli.py +++ b/src/cogite/cli.py @@ -150,7 +150,7 @@ def _main(): client = api.get_client(configuration, ctx) if not client: - sys.exit(f"Could not find any backend for platform '{configuration.platform}'") + sys.exit(f"Could not find any backend for platform '{configuration.host_platform}'") args = dict(vars(parse_args())) callback = args.pop('callback')