From b4e1b9cb241702ada686fd0712b607fc19236ef4 Mon Sep 17 00:00:00 2001 From: Tobias Poschwatta Date: Fri, 30 Aug 2024 11:45:43 +0200 Subject: [PATCH] Fix typo in "profile with name ... already exists" message Signed-off-by: Tobias Poschwatta --- internal/pkg/api/profile/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/api/profile/profile.go b/internal/pkg/api/profile/profile.go index b3aa1ddc..c6f807a6 100644 --- a/internal/pkg/api/profile/profile.go +++ b/internal/pkg/api/profile/profile.go @@ -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