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

@@ -140,7 +140,7 @@ func (obj *FileRes) Validate() error {
// XXX: should this specify that we create an empty directory instead?
//if obj.Source == "" && obj.isDir() {
// return fmt.Errorf("Can't specify an empty source when creating a Dir.")
// return fmt.Errorf("can't specify an empty source when creating a Dir.")
//}
return nil