Merge pull request #1374 from posch/profile-typo
Fix typo in "profile with name ... already exists" message
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user