chore(cluster_config): rename SyncClusterInterval to SyncInterval

for better naming
This commit is contained in:
Yicheng Qin
2014-05-09 13:28:21 -07:00
parent 765cd5d8b3
commit 6d4f018887
7 changed files with 32 additions and 32 deletions

View File

@@ -29,7 +29,7 @@ func TestRemoveNode(t *testing.T) {
c.SyncCluster()
resp, _ := tests.Put("http://localhost:7001/v2/admin/config", "application/json", bytes.NewBufferString(`{"syncClusterInterval":1}`))
resp, _ := tests.Put("http://localhost:7001/v2/admin/config", "application/json", bytes.NewBufferString(`{"syncInterval":1}`))
if !assert.Equal(t, resp.StatusCode, 200) {
t.FailNow()
}