From d11e779f1d1fbdcd628212f57d9023a868ca1b7f 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 --- staging/src/k8s.io/apiserver/pkg/storage/interfaces.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go b/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go index 56dd6dbdc91..bed4daee30b 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/interfaces.go @@ -210,8 +210,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