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

@@ -25,7 +25,6 @@ import (
func TestEtcdParseWatchResourceVersion(t *testing.T) {
testCases := []struct {
Version string
Kind string
ExpectVersion uint64
Err bool
}{
@@ -36,7 +35,7 @@ func TestEtcdParseWatchResourceVersion(t *testing.T) {
{Version: "10", ExpectVersion: 11},
}
for _, testCase := range testCases {
version, err := ParseWatchResourceVersion(testCase.Version, testCase.Kind)
version, err := ParseWatchResourceVersion(testCase.Version)
switch {
case testCase.Err:
if err == nil {