From dfd191060a36a9bf23815b9afa6089c67020605d 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 6919c3a..af4c743 100644 --- a/config/state.py +++ b/config/state.py @@ -257,7 +257,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