diff --git a/resource/composed/composed.go b/resource/composed/composed.go index f8439ad..26e54a0 100644 --- a/resource/composed/composed.go +++ b/resource/composed/composed.go @@ -285,7 +285,7 @@ func (cd *Unstructured) SetInteger(path string, value int64) error { return cd.SetValue(path, value) } -// SetObservedGeneration of this composite resource claim. +// SetObservedGeneration of this Composed resource. func (cd *Unstructured) SetObservedGeneration(generation int64) { status := &xpv1.ObservedStatus{} _ = fieldpath.Pave(cd.Object).GetValueInto("status", status) @@ -293,7 +293,7 @@ func (cd *Unstructured) SetObservedGeneration(generation int64) { _ = fieldpath.Pave(cd.Object).SetValue("status.observedGeneration", status.ObservedGeneration) } -// GetObservedGeneration of this composite resource claim. +// GetObservedGeneration of this Composed resource. func (cd *Unstructured) GetObservedGeneration() int64 { status := &xpv1.ObservedStatus{} _ = fieldpath.Pave(cd.Object).GetValueInto("status", status) diff --git a/resource/composite/composite.go b/resource/composite/composite.go index f12509a..4cafbdf 100644 --- a/resource/composite/composite.go +++ b/resource/composite/composite.go @@ -351,7 +351,7 @@ func (xr *Unstructured) SetInteger(path string, value int64) error { return xr.SetValue(path, value) } -// SetObservedGeneration of this composite resource claim. +// SetObservedGeneration of this Composite resource. func (xr *Unstructured) SetObservedGeneration(generation int64) { status := &xpv1.ObservedStatus{} _ = fieldpath.Pave(xr.Object).GetValueInto("status", status) @@ -359,7 +359,7 @@ func (xr *Unstructured) SetObservedGeneration(generation int64) { _ = fieldpath.Pave(xr.Object).SetValue("status.observedGeneration", status.ObservedGeneration) } -// GetObservedGeneration of this composite resource claim. +// GetObservedGeneration of this Composite resource. func (xr *Unstructured) GetObservedGeneration() int64 { status := &xpv1.ObservedStatus{} _ = fieldpath.Pave(xr.Object).GetValueInto("status", status)