Fix typo in "profile with name ... already exists" message

Signed-off-by: Tobias Poschwatta <poschwatta@zib.de>
This commit is contained in:
Tobias Poschwatta
2024-08-30 11:45:43 +02:00
parent f07bbee134
commit b4e1b9cb24

View File

@@ -169,7 +169,7 @@ func AddProfile(nsp *wwapiv1.ProfileSetParameter) error {
}
if util.InSlice(nodeDB.ListAllProfiles(), nsp.ProfileNames[0]) {
return errors.New(fmt.Sprintf("profile with name %s allready exists", nsp.ProfileNames[0]))
return errors.New(fmt.Sprintf("profile with name %s already exists", nsp.ProfileNames[0]))
}
var nodeConf node.NodeConf