Skip to content

Commit

Permalink
storageprovidersvc: fix mkdir on init (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed Aug 14, 2019
1 parent 1c94e39 commit 14efb61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func New(m map[string]interface{}, ss *grpc.Server) (io.Closer, error) {
tmpFolder = os.TempDir()
}

if err := os.Mkdir(tmpFolder, 0755); err != nil {
if err := os.MkdirAll(tmpFolder, 0755); err != nil {
return nil, err
}

Expand Down

0 comments on commit 14efb61

Please sign in to comment.