From a78eeebaec138c85e1296aeda5e9e4cbbe551320 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 8 Mar 2019 15:36:20 +0900 Subject: [PATCH] Fix a typo in a code example in a comment Kubernetes-commit: d11e779f1d1fbdcd628212f57d9023a868ca1b7f --- pkg/storage/interfaces.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/storage/interfaces.go b/pkg/storage/interfaces.go index cff425f3a..108f2acb4 100644 --- a/pkg/storage/interfaces.go +++ b/pkg/storage/interfaces.go @@ -219,8 +219,8 @@ type Interface interface { // // Return the modified object - return an error to stop iterating. Return // // a uint64 to alter the TTL on the object, or nil to keep it the same value. // return cur, nil, nil - // } - // }) + // }, + // ) GuaranteedUpdate( ctx context.Context, key string, ptrToType runtime.Object, ignoreNotFound bool, precondtions *Preconditions, tryUpdate UpdateFunc, suggestion ...runtime.Object) error