mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 05:04:27 +08:00
fix client validation messages
This commit is contained in:
parent
10de931a86
commit
79048868d9
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
errInvalidExtClientPubKey = errors.New("incorrect ext client public key")
|
errInvalidExtClientPubKey = errors.New("incorrect client public key")
|
||||||
errInvalidExtClientID = errors.New("client ID must be alphanumderic and/or dashes and less that 15 chars")
|
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")
|
errInvalidExtClientExtraIP = errors.New("client extra ip must be a valid cidr")
|
||||||
errInvalidExtClientDNS = errors.New("client dns must be a valid ip address")
|
errInvalidExtClientDNS = errors.New("client dns must be a valid ip address")
|
||||||
errDuplicateExtClientName = errors.New("duplicate client name")
|
errDuplicateExtClientName = errors.New("duplicate client name")
|
||||||
|
|
Loading…
Add table
Reference in a new issue