fileutil, src: format errors
parent
b5afbdd8d0
commit
279fee668b
|
@ -28,7 +28,7 @@ var (
|
|||
modkernel32 = syscall.NewLazyDLL("kernel32.dll")
|
||||
procLockFileEx = modkernel32.NewProc("LockFileEx")
|
||||
|
||||
errLocked = errors.New("The process cannot access the file because another process has locked a portion of the file.")
|
||||
errLocked = errors.New("the process cannot access the file because another process has locked a portion of the file")
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -185,7 +185,7 @@ func TestSRVDiscover(t *testing.T) {
|
|||
if service == "etcd-client" {
|
||||
return "", tt.withoutSSL, nil
|
||||
}
|
||||
return "", nil, errors.New("Unknown service in mock")
|
||||
return "", nil, errors.New("unknown service in mock")
|
||||
}
|
||||
|
||||
srvs, err := GetClient("etcd-client", "example.com", "")
|
||||
|
|
Loading…
Reference in New Issue