Skip to content

Commit

Permalink
Remove unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
monder committed May 17, 2016
1 parent dc09a83 commit 964934f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ func (d s3Driver) Mount(r volume.Request) volume.Response {
}
} else if err != nil {
if e, ok := err.(*os.PathError); ok && e.Err == syscall.ENOTCONN {
// Crashed previously? Remount
log.Println(e.Err)
log.Println(e.Err == syscall.ENOTCONN)
// Crashed previously? Unmount
fuse.Unmount(d.mountpoint(bucket))
} else {
return volume.Response{Err: err.Error()}
Expand Down

0 comments on commit 964934f

Please sign in to comment.