etcd: fs: Errors should start with lower case

This commit is contained in:
James Shubin
2019-07-26 02:53:40 -04:00
parent 98cb570896
commit 1161872324
9 changed files with 53 additions and 36 deletions

View File

@@ -70,9 +70,9 @@ var (
// ErrNotExist is returned when we can't find the requested path.
ErrNotExist = os.ErrNotExist
ErrFileClosed = errors.New("File is closed")
ErrFileReadOnly = errors.New("File handle is read only")
ErrOutOfRange = errors.New("Out of range")
ErrFileClosed = errors.New("file is closed")
ErrFileReadOnly = errors.New("file handle is read only")
ErrOutOfRange = errors.New("out of range")
)
// Fs is a specialized afero.Fs implementation for etcd. It implements a small