diff options
Diffstat (limited to 'resources/transform.go')
-rw-r--r-- | resources/transform.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/transform.go b/resources/transform.go index b498924f5..9adec38cc 100644 --- a/resources/transform.go +++ b/resources/transform.go @@ -49,6 +49,7 @@ var ( _ resource.ReadSeekCloserResource = (*resourceAdapter)(nil) _ resource.Resource = (*resourceAdapter)(nil) _ resource.Staler = (*resourceAdapterInner)(nil) + _ identity.IdentityGroupProvider = (*resourceAdapterInner)(nil) _ resource.Source = (*resourceAdapter)(nil) _ resource.Identifier = (*resourceAdapter)(nil) _ resource.ResourceNameTitleProvider = (*resourceAdapter)(nil) @@ -657,6 +658,10 @@ type resourceAdapterInner struct { *publishOnce } +func (r *resourceAdapterInner) GetIdentityGroup() identity.Identity { + return r.target.GetIdentityGroup() +} + func (r *resourceAdapterInner) StaleVersion() uint32 { // Both of these are incremented on change. return r.Staler.StaleVersion() + r.target.StaleVersion() |