From 164c94a4d82ccad8277b1c2dcb32943102d846aa Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期六, 12 十月 2019 10:15:27 +0800
Subject: [PATCH] 修改SnapshotPath为配置文件可配
---
agent_test.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/agent_test.go b/agent_test.go
index fbabde6..da7e004 100644
--- a/agent_test.go
+++ b/agent_test.go
@@ -28,7 +28,7 @@
conf := DefaultConfig()
conf.ClusterID = "testCluster"
conf.NodeName = "testnode"
- agent, err := Create(conf)
+ agent, err := Create(conf, "./snapshotfile")
if err != nil {
t.Errorf("create agent failed, error: %s", err)
}
--
Gitblit v1.8.0