mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
config/state: remove field_name
from missing device/flavour hint as it gets used as the profile name
This commit is contained in:
parent
13aa258794
commit
dfd191060a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue