Fix indentation/spacing in comments to render correctly in godoc

Kubernetes-commit: 78cb3862f11225135afdf76f3424e2d7b33104c7
This commit is contained in:
Jordan Liggitt
2022-12-17 17:31:05 -05:00
committed by Kubernetes Publisher
parent 97591331ce
commit 422fe1f61e
4 changed files with 5 additions and 8 deletions

View File

@@ -101,8 +101,7 @@ func UntilWithoutRetry(ctx context.Context, watcher watch.Interface, conditions
// It guarantees you to see all events and in the order they happened.
// Due to this guarantee there is no way it can deal with 'Resource version too old error'. It will fail in this case.
// (See `UntilWithSync` if you'd prefer to recover from all the errors including RV too old by re-listing
//
// those items. In normal code you should care about being level driven so you'd not care about not seeing all the edges.)
// those items. In normal code you should care about being level driven so you'd not care about not seeing all the edges.)
//
// The most frequent usage for Until would be a test where you want to verify exact order of events ("edges").
func Until(ctx context.Context, initialResourceVersion string, watcherClient cache.Watcher, conditions ...ConditionFunc) (*watch.Event, error) {