@@ -15,13 +15,13 @@ var (
15
15
ErrNodeExists = errors .New ("node already exists" )
16
16
17
17
// Node
18
- ErrInvaildNodeEndpoint = errors .New ("invaild node endpoint" )
18
+ ErrInvaildNodeEndpoint = errors .New ("invalid node endpoint" )
19
19
ErrNodeNotEmpty = errors .New ("node not empty, still has workloads associated" )
20
20
ErrNodeNotExists = errors .New ("node not exists" )
21
- ErrInvaildNodeStatusTTL = errors .New ("invaild TTL for node status, should be > 0" )
21
+ ErrInvaildNodeStatusTTL = errors .New ("invalid TTL for node status, should be > 0" )
22
22
23
23
// Lock
24
- ErrLockKeyInvaild = errors .New ("lock key is invaild " )
24
+ ErrLockKeyInvaild = errors .New ("lock key is invalid " )
25
25
ErrLockSessionDone = errors .New ("lock session done" )
26
26
27
27
// Client
@@ -33,26 +33,26 @@ var (
33
33
34
34
// General
35
35
ErrInvaildIPAddress = errors .New ("invalid IP address" )
36
- ErrInvaildIPWithPort = errors .New ("invaild IP with port" )
36
+ ErrInvaildIPWithPort = errors .New ("invalid IP with port" )
37
37
ErrICMPLost = errors .New ("icmp packets lost" )
38
38
ErrAllConnectionsFailed = errors .New ("all connections failed" )
39
39
ErrUnexpectedRedirect = errors .New ("unexpected redirect" )
40
40
41
41
// Engine
42
- ErrInvaildMemory = errors .New ("invaild `Memory` value setting" )
42
+ ErrInvaildMemory = errors .New ("invalid `Memory` value setting" )
43
43
ErrNilEngine = errors .New ("engine is nil" )
44
44
ErrInvaildRefs = errors .New ("invalid image refs" )
45
45
ErrNoImage = errors .New ("no image" )
46
46
ErrNoImageUser = errors .New ("no image user" )
47
- ErrInvaildRemoteDigest = errors .New ("got invaild digest" )
47
+ ErrInvaildRemoteDigest = errors .New ("got invalid digest" )
48
48
ErrInvaildEngineEndpoint = errors .New ("not Support endpoint" )
49
49
ErrEngineNotImplemented = errors .New ("not implemented" )
50
50
ErrInvalidEngineArgs = errors .New ("invalid engine args" )
51
51
52
52
// Workload
53
53
ErrInvaildWorkloadStatus = errors .New ("status has no appname / entrypoint / nodename" )
54
- ErrInvaildWorkloadMeta = errors .New ("invaild workload meta" )
55
- ErrInvaildWorkloadOps = errors .New ("invaild workload ops" )
54
+ ErrInvaildWorkloadMeta = errors .New ("invalid workload meta" )
55
+ ErrInvaildWorkloadOps = errors .New ("invalid workload ops" )
56
56
ErrInvalidWorkloadName = errors .New ("invalid workload name" )
57
57
ErrWorkloadIgnored = errors .New ("ignore this workload" )
58
58
ErrWorkloadNotExists = errors .New ("workload not exists" )
63
63
ErrPodNotFound = errors .New ("pod not found" )
64
64
65
65
// GRPC
66
- ErrInvaildGRPCRequestMeta = errors .New ("invaild grpc request meta" )
67
- ErrInvaildGRPCPassword = errors .New ("invaild grpc password" )
68
- ErrInvaildGRPCUsername = errors .New ("invaild grpc username" )
66
+ ErrInvaildGRPCRequestMeta = errors .New ("invalid grpc request meta" )
67
+ ErrInvaildGRPCPassword = errors .New ("invalid grpc password" )
68
+ ErrInvaildGRPCUsername = errors .New ("invalid grpc username" )
69
69
70
70
// Opts Validation
71
71
ErrNoBuildPod = errors .New ("no build pod set in config" )
@@ -95,16 +95,16 @@ var (
95
95
ErrKeyExists = errors .New ("key exists" )
96
96
ErrNoOps = errors .New ("no txn ops" )
97
97
ErrTxnConditionFailed = errors .New ("ETCD Txn condition failed" )
98
- ErrInvaildCount = errors .New ("bad `Count` value, entity count invaild " ) // store key-value count not same
98
+ ErrInvaildCount = errors .New ("bad `Count` value, entity count invalid " ) // store key-value count not same
99
99
100
100
// WAL
101
- ErrInvaildWALEventType = errors .New ("invaild WAL event type" )
102
- ErrInvaildWALEvent = errors .New ("invaild WAL event type" )
101
+ ErrInvaildWALEventType = errors .New ("invalid WAL event type" )
102
+ ErrInvaildWALEvent = errors .New ("invalid WAL event type" )
103
103
ErrInvalidWALBucket = errors .New ("invalid WAL bucket" )
104
104
ErrInvalidWALDataType = errors .New ("invalid WAL data type" )
105
105
106
106
// Create
107
- ErrInvaildDeployCount = errors .New ("invaild deploy count" )
107
+ ErrInvaildDeployCount = errors .New ("invalid deploy count" )
108
108
ErrRollbackMapIsNotEmpty = errors .New ("rollback map is not empty" )
109
109
ErrGetMostIdleNodeFailed = errors .New ("get most idle node failed" )
110
110
@@ -116,7 +116,7 @@ var (
116
116
ErrNoFilesToCopy = errors .New ("no files to copy" )
117
117
118
118
// Core
119
- ErrInvaildCoreEndpointType = errors .New ("invaild Core endpoint type" )
119
+ ErrInvaildCoreEndpointType = errors .New ("invalid Core endpoint type" )
120
120
121
121
// Test
122
122
ErrMockError = errors .New ("mock error" )
0 commit comments