From 128b1b7e5e185f2e5c3ffdb30746cc596a3bc333 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Mon, 6 Feb 2023 01:51:35 +0100 Subject: [PATCH] config/state: remove `field_name` from missing device/flavour hint as it gets used as the profile name --- config/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/state.py b/config/state.py index 0395baa..6825b9e 100644 --- a/config/state.py +++ b/config/state.py @@ -255,7 +255,7 @@ class ConfigStateHolder: profile = self.get_profile(profile_name) if field not in profile or not profile[field]: m = (f'Profile "{profile_name}" has no {field.upper()} configured.\n' - f'Please run `kupferbootstrap config profile init {field}`{arch_hint}') + f'Please run `kupferbootstrap config profile init {profile_name}`{arch_hint}') raise Exception(m) return profile