Fix a typo in a code example in a comment

This commit is contained in:
YAMAMOTO Takashi 2019-03-08 15:36:20 +09:00
parent 788f24583e
commit d11e779f1d

View File

@ -210,8 +210,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