Skip to content

Commit

Permalink
:lip_stick:
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows committed May 28, 2018
1 parent 8c83d6b commit 236d965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kvs/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 46,7 @@ func (f *File) Write(key string, data []byte) error {

p := filepath.Join(f.dir, key)
if isFileExist(p) {
return errors.New(fmt.Sprintf("file already exists: %s", p))
return errors.New(fmt.Sprintf("File already exists: %s", p))
}

file, err := os.OpenFile(p, os.O_CREATE|os.O_WRONLY, 0644)
Expand Down

0 comments on commit 236d965

Please sign in to comment.