Skip to content

Commit b248541

Browse files
committed
cli: Fix error message when the host platform is unknown
1 parent 8b54633 commit b248541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cogite/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _main():
150150
client = api.get_client(configuration, ctx)
151151

152152
if not client:
153-
sys.exit(f"Could not find any backend for platform '{configuration.platform}'")
153+
sys.exit(f"Could not find any backend for platform '{configuration.host_platform}'")
154154

155155
args = dict(vars(parse_args()))
156156
callback = args.pop('callback')

0 commit comments

Comments
 (0)