Skip to content

Commit

Permalink
Added missing error wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Collin Shoop committed Feb 4, 2022
1 parent d33346c commit 6c5150b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/mounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (m *mounter) Mount(source, target, fsType string, opts ...string) error {
// create target, os.Mkdirall is noop if directory exists
err := os.MkdirAll(target, 0750)
if err != nil {
return err
return fmt.Errorf("failed to create target for typed block bind mount (%s): %v", fsType, err)
}
}

Expand Down

0 comments on commit 6c5150b

Please sign in to comment.