Skip to content

Commit

Permalink
fix: replace rockcraft with project name variable
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Matsuoka <[email protected]>
  • Loading branch information
cmatsuoka committed Jun 24, 2024
1 parent 8b00682 commit 9cb2ed5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions craft_providers/lxd/lxd_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def launched_environment(
project=self.lxd_project, profile="default", remote=self.lxd_remote
).get("devices")
if not devices:
# Project "rockcraft" exists but the default profile is ill-formed,
# Project exists but the default profile is ill-formed, tell the user to
# delete the project and start over.
raise LXDError(
brief="LXD project has an ill-formed default profile.",
Expand All @@ -141,8 +141,8 @@ def launched_environment(
"has an empty devices section."
),
resolution=(
"Delete the 'rockcraft' LXD project, it will be recreated in the "
"next execution.\n" + LXD_INSTALL_HELP
f"Delete the '{self.lxd_project}' LXD project, it will be "
"recreated in the next execution.\n" + LXD_INSTALL_HELP
),
)

Expand Down

0 comments on commit 9cb2ed5

Please sign in to comment.