Fix a typo in a code example in a comment

Kubernetes-commit: d11e779f1d1fbdcd628212f57d9023a868ca1b7f
This commit is contained in:
YAMAMOTO Takashi 2019-03-08 15:36:20 +09:00 committed by Kubernetes Publisher
parent 7a95013359
commit a78eeebaec
1 changed files with 2 additions and 2 deletions

View File

@ -219,8 +219,8 @@ type Interface interface {
// // Return the modified object - return an error to stop iterating. Return // // 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. // // a uint64 to alter the TTL on the object, or nil to keep it the same value.
// return cur, nil, nil // return cur, nil, nil
// } // },
// }) // )
GuaranteedUpdate( GuaranteedUpdate(
ctx context.Context, key string, ptrToType runtime.Object, ignoreNotFound bool, ctx context.Context, key string, ptrToType runtime.Object, ignoreNotFound bool,
precondtions *Preconditions, tryUpdate UpdateFunc, suggestion ...runtime.Object) error precondtions *Preconditions, tryUpdate UpdateFunc, suggestion ...runtime.Object) error