Remove ObjectReference comment

Removes outdated comment suggesting using ObjectReference as function
parameters as we now prefer to use a more scoped reference type.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
This commit is contained in:
hasheddan 2020-09-09 11:24:33 -05:00
parent 1d97e32d05
commit abf412a469
No known key found for this signature in database
GPG Key ID: BD68BC686A14C271
1 changed files with 0 additions and 7 deletions

View File

@ -31,13 +31,6 @@ import (
"github.com/crossplane/crossplane-runtime/apis/core/v1alpha1"
)
/*
Prefer taking *corev1.ObjectReference as an argument where possible when
adding new functions to this package. It's easier to convert an object to
an ObjectReference using ReferenceTo() than it is to make an ObjectReference
satisfy metav1.Object.
*/
// AnnotationKeyExternalName is the key in the annotations map of a resource for
// the name of the resource as it appears on provider's systems.
const AnnotationKeyExternalName = "crossplane.io/external-name"