etcdserver: Member.storeKey -> memberStoreKey

This commit is contained in:
Yicheng Qin
2014-10-21 17:33:40 -07:00
parent 7498234e40
commit 89b032cd69
5 changed files with 8 additions and 8 deletions

View File

@ -967,7 +967,7 @@ func TestPublish(t *testing.T) {
t.Errorf("method = %s, want PUT", r.Method)
}
wm := Member{ID: 1, Attributes: Attributes{Name: "node1", ClientURLs: []string{"http://a", "http://b"}}}
if w := wm.storeKey() + attributesSuffix; r.Path != w {
if w := memberStoreKey(wm.ID) + attributesSuffix; r.Path != w {
t.Errorf("path = %s, want %s", r.Path, w)
}
var gattr Attributes