Skip to content

Commit

Permalink
Improve error message wording for properties
Browse files Browse the repository at this point in the history
  • Loading branch information
johnramsden committed Jun 26, 2018
1 parent 4ec152f commit b0ba9f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zedenv/plugins/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def __init__(self, zedenv_data: dict):
def plugin_property_error(self, prop):
ZELogger.log({
"level": "EXCEPTION",
"message": (f"To use the {self.bootloader} plugin, use default{prop}, or set props\n"
f"To set it use the command (replacing with your pool and dataset)\n'"
f"zfs set org.zedenv.{self.bootloader}:{prop}='<new mount>' "
"zpool/ROOT/default\n")
"message": (f"To use the {self.bootloader} plugin, use the default setting '{prop}', "
f"or set a different value\n. To set it use the command (replacing with "
f"your pool and dataset)\n'zfs set "
f"org.zedenv.{self.bootloader}:{prop}='<new mount>' zpool/ROOT/default\n")
}, exit_on_error=True)

def check_zedenv_properties(self):
Expand Down

0 comments on commit b0ba9f1

Please sign in to comment.