Merge pull request #1374 from posch/profile-typo

Fix typo in "profile with name ... already exists" message
This commit is contained in:
Jonathon Anderson
2024-09-03 15:32:22 -06:00
committed by GitHub

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