Skip to content

Commit

Permalink
fix: Spelling On Error Message About Range
Browse files Browse the repository at this point in the history
* fixes small spelling error on the error message concerning the range
  being invalid for an IP Pool that will bubble back up to the admission
  webhook on the Harvester Dashboard front-end

Resolves: fix/spelling-on-error-msg
See also: harvester/harvester#5358
  • Loading branch information
irishgordo authored and starbops committed Mar 14, 2024
1 parent f0aaac2 commit 8a40a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ipam/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func NewAllocator(name string, ranges []lbv1.Range, cache ctllbv1.IPPoolCache, c
func MakeRange(r *lbv1.Range) (*allocator.Range, error) {
ip, ipNet, err := net.ParseCIDR(r.Subnet)
if err != nil {
return nil, fmt.Errorf("invalide range %+v", r)
return nil, fmt.Errorf("invalid range %+v", r)
}

var defaultStart, defaultEnd, defaultGateway, start, end, gateway net.IP
Expand Down

0 comments on commit 8a40a31

Please sign in to comment.