mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
ensure proper directory name
a fix related to https://github.com/chrislusf/seaweedfs/issues/2064
This commit is contained in:
parent
e3f47ddb76
commit
5a29d284fa
|
@ -6,6 +6,7 @@ import (
|
|||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"io"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
|
@ -24,7 +25,7 @@ type TempFileDirtyPages struct {
|
|||
}
|
||||
|
||||
var (
|
||||
tmpDir = os.TempDir() + "sw"
|
||||
tmpDir = filepath.Join(os.TempDir(), "sw")
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
Loading…
Reference in a new issue