Skip to content

Commit

Permalink
Update scenario/consistency_checker.py
Browse files Browse the repository at this point in the history
Co-authored-by: PietroPasotti <[email protected]>
  • Loading branch information
IronCore864 and PietroPasotti authored Apr 17, 2024
1 parent 82e8e4c commit 3e1acc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scenario/consistency_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3e1acc9

Please sign in to comment.