Change resourceVersion to string in storage.Interface

This commit is contained in:
Wojciech Tyczynski
2015-12-04 09:58:24 +01:00
parent d6134e5409
commit 793da62c7f
10 changed files with 73 additions and 54 deletions

View File

@@ -151,7 +151,7 @@ func TestWatch(t *testing.T) {
expectedVersion := resp.Node.ModifiedIndex
// watch should load the object at the current index
w, err := etcdStorage.Watch(ctx, key, 0, storage.Everything)
w, err := etcdStorage.Watch(ctx, key, "0", storage.Everything)
if err != nil {
t.Fatalf("Unexpected error: %v", err)
}