Skip to content

Commit

Permalink
fix client validation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Oct 25, 2024
1 parent 10de931 commit 7904886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
)

var (
errInvalidExtClientPubKey = errors.New("incorrect ext client public key")
errInvalidExtClientID = errors.New("client ID must be alphanumderic and/or dashes and less that 15 chars")
errInvalidExtClientPubKey = errors.New("incorrect client public key")
errInvalidExtClientID = errors.New("node name must be alphanumderic and/or dashes and less that 15 chars")
errInvalidExtClientExtraIP = errors.New("client extra ip must be a valid cidr")
errInvalidExtClientDNS = errors.New("client dns must be a valid ip address")
errDuplicateExtClientName = errors.New("duplicate client name")
Expand Down

0 comments on commit 7904886

Please sign in to comment.