Remove duplicated words in daemon files

Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
mooncake
2018-10-05 21:37:42 +08:00
parent c77cfbfef5
commit ea60a87fcf
3 changed files with 4 additions and 4 deletions

View File

@@ -456,7 +456,7 @@ func (d *Driver) Cleanup() error {
// Note we don't return an error below - it's possible the files
// are locked. However, next time around after the daemon exits,
// we likely will be able to to cleanup successfully. Instead we log
// we likely will be able to cleanup successfully. Instead we log
// warnings if there are errors.
for _, item := range items {
if item.IsDir() && strings.HasSuffix(item.Name(), "-removing") {