// patchStatus patches the Status for FieldExport into k8s. The field export
// 'res' also gets updated with the content returned from apiserver.
// TODO(vijtrip2): Refactor this and use single 'patchStatus' method
// for all reconcilers
patchStatus patches the Status for FieldExport into k8s. The field export
'res' also gets updated with the content returned from apiserver.
TODO(vijtrip2): Refactor this and use single 'patchStatus' method
for all reconcilers
// patchStatus patches the Status for FieldExport into k8s . The field export // ' res ' also gets updated with the content returned from apiserver . // TODO ( vijtrip2 ) : Refactor this and use single ' patchStatus ' method // for all reconcilers
func (r *fieldExportReconciler) patchStatus(
	ctx context.Context,
	res *ackv1alpha1.FieldExport,
	base *ackv1alpha1.FieldExport,
) error {
	return r.kc.Status().Patch(
		ctx,
		res,
		client.MergeFrom(base),
	)
}
func ( r * fieldExportReconciler ) patchStatus ( ctx context . Context , res * ackv1alpha1 . FieldExport , base * ackv1alpha1 . FieldExport , ) error { return r . kc . Status ( ) . Patch ( ctx , res , client . MergeFrom ( base ) , ) }
patchStatus patches the Status for FieldExport into k8s.
patchStatus patches the Status for FieldExport into k8s .