From fc65716cb14d829c5ad9f79aa909ec0564eea2bd Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期六, 12 十月 2019 11:36:03 +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