Browse Source

ensure proper directory name

a fix related to https://github.com/chrislusf/seaweedfs/issues/2064
pull/2074/head
Chris Lu 4 years ago
parent
commit
5a29d284fa
  1. 3
      weed/filesys/dirty_pages_temp_file.go

3
weed/filesys/dirty_pages_temp_file.go

@ -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…
Cancel
Save