right type used
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"mstore/app/logger"
|
||||
"mstore/pkg/auxuuid"
|
||||
"mstore/pkg/uuid"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -80,7 +80,7 @@ func (store *Storage) WriteTempFile(source io.Reader) (string, int64, string, er
|
||||
var size int64
|
||||
var csum string
|
||||
|
||||
tmpname := string(auxuuid.NewUUID())
|
||||
tmpname := string(uuid.NewUUID())
|
||||
tmpname = fmt.Sprintf("file-%s.tmp", tmpname)
|
||||
tmppath := store.makeTmppath(tmpname)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user