Fix "doesn't exists" typo (#26307)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f1a37e06bc
Коммит
fac1245143
@@ -13,7 +13,7 @@ func checkValidSocket(socketPath string) error {
|
||||
// check file mode and permissions
|
||||
fi, err := os.Stat(socketPath)
|
||||
if err != nil && os.IsNotExist(err) {
|
||||
return fmt.Errorf("socket file %q doesn't exists, please check the server configuration for local mode", socketPath)
|
||||
return fmt.Errorf("socket file %q doesn't exist, please check the server configuration for local mode", socketPath)
|
||||
} else if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user