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

@@ -82,8 +82,7 @@ func (e *events) UpdateWithEventNamespace(event *v1beta1.Event) (*v1beta1.Event,
// It returns the copy of the event that the server returns, or an error.
// The namespace and name of the target event is deduced from the event.
// The namespace must either match this event client's namespace, or this event client must
//
// have been created with the "" namespace.
// have been created with the "" namespace.
func (e *events) PatchWithEventNamespace(event *v1beta1.Event, data []byte) (*v1beta1.Event, error) {
if e.ns != "" && event.Namespace != e.ns {
return nil, fmt.Errorf("can't patch an event with namespace '%v' in namespace '%v'", event.Namespace, e.ns)