diff --git a/apis/duck/v1/source_types.go b/apis/duck/v1/source_types.go index 4ce3eaf60..2f1afe246 100644 --- a/apis/duck/v1/source_types.go +++ b/apis/duck/v1/source_types.go @@ -67,7 +67,7 @@ type CloudEventOverrides struct { // SourceStatus shows how we expect folks to embed Addressable in // their Status field. type SourceStatus struct { - // inherits duck/v1beta1 Status, which currently provides: + // inherits Status, which currently provides: // * ObservedGeneration - the 'Generation' of the Service that was last // processed by the controller. // * Conditions - the latest available observations of a resource's current diff --git a/apis/testing/roundtrip/roundtrip.go b/apis/testing/roundtrip/roundtrip.go index ccc030f7e..1bf34e8c2 100644 --- a/apis/testing/roundtrip/roundtrip.go +++ b/apis/testing/roundtrip/roundtrip.go @@ -169,7 +169,7 @@ func roundTripViaHub(t *testing.T, gvk schema.GroupVersionKind, scheme, hubs *ru obj = obj.DeepCopyObject().(convertibleObject) if !apiequality.Semantic.DeepEqual(original, obj) { - t.Errorf("DeepCopy altered the object, diff: %v", diff(original, obj)) + t.Errorf("DeepCopy modified the original object (DeepCopy should not have side-effects), diff: %v", diff(original, obj)) return } @@ -178,7 +178,7 @@ func roundTripViaHub(t *testing.T, gvk schema.GroupVersionKind, scheme, hubs *ru } if !apiequality.Semantic.DeepEqual(original, obj) { - t.Errorf("Conversion to hub (%s) alterted the object, diff: %v", hubGVK, diff(original, obj)) + t.Errorf("Conversion to hub (%s) modified the original object (ConvertFrom should not have side-effects), diff: %v", hubGVK, diff(original, obj)) return }