refactor: Directory readability (#3665)

This commit is contained in:
Ryan Russell
2022-09-14 12:11:31 -05:00
committed by GitHub
parent d734fff322
commit d54eb9966f
7 changed files with 13 additions and 13 deletions

View File

@@ -80,7 +80,7 @@ func (localsink *LocalSink) CreateEntry(key string, entry *filer_pb.Entry, signa
dir := filepath.Dir(key)
if _, err := os.Stat(dir); os.IsNotExist(err) {
glog.V(4).Infof("Create Direcotry key: %s", dir)
glog.V(4).Infof("Create Directory key: %s", dir)
if err = os.MkdirAll(dir, 0755); err != nil {
return err
}