From 3e1acc9dac4417ac7051c734eca090e6f180e2a9 Mon Sep 17 00:00:00 2001 From: Tiexin Guo Date: Wed, 17 Apr 2024 10:15:32 +0800 Subject: [PATCH] Update scenario/consistency_checker.py Co-authored-by: PietroPasotti --- scenario/consistency_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenario/consistency_checker.py b/scenario/consistency_checker.py index b3c12aed..c8aebbf9 100644 --- a/scenario/consistency_checker.py +++ b/scenario/consistency_checker.py @@ -582,7 +582,7 @@ def check_cloudspec_consistency( if state.model.type == "kubernetes" and state.cloud_spec: errors.append( - "CloudSpec is only available for machine charms, not Kubernetes charms.", + "CloudSpec is only available for machine charms, not Kubernetes charms. Tell Scenario to simulate a machine substrate with: `scenario.State(..., model=scenario.Model(type='lxd'))`.", ) return Results(errors, warnings)