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:
3ae748d
)
fix rm
author
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 02:12:01 +0000
(10:12 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 02:12:01 +0000
(10:12 +0800)
toolbar/precog/monitor/monitor.go
patch
|
blob
|
history
diff --git
a/toolbar/precog/monitor/monitor.go
b/toolbar/precog/monitor/monitor.go
index
d1398cd
..
28c52c7
100644
(file)
--- a/
toolbar/precog/monitor/monitor.go
+++ b/
toolbar/precog/monitor/monitor.go
@@
-99,8
+99,6
@@
func makePath() (string, error) {
}
func (m *monitor) Run() {
- defer os.RemoveAll(m.nodeCfg.DBPath)
-
var seeds []string
for _, node := range m.cfg.Nodes {
seeds = append(seeds, fmt.Sprintf("%s:%d", node.Host, node.Port))