OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a32726
)
fix dir
author
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 02:02:45 +0000
(10:02 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 02:02:45 +0000
(10:02 +0800)
toolbar/precog/monitor/monitor.go
patch
|
blob
|
history
diff --git
a/toolbar/precog/monitor/monitor.go
b/toolbar/precog/monitor/monitor.go
index
4f6b880
..
a9ac263
100644
(file)
--- a/
toolbar/precog/monitor/monitor.go
+++ b/
toolbar/precog/monitor/monitor.go
@@
-2,7
+2,6
@@
package monitor
import (
"fmt"
import (
"fmt"
- "io/ioutil"
"os"
"os/user"
"strings"
"os"
"os/user"
"strings"
@@
-97,12
+96,7
@@
func makePath() (string, error) {
return "", err
}
return "", err
}
- tmpDir, err := ioutil.TempDir(dataPath, "")
- if err != nil {
- return "", err
- }
-
- return tmpDir, nil
+ return dataPath, nil
}
func (m *monitor) Run() {
}
func (m *monitor) Run() {