diff options
Diffstat (limited to 'resources/transform.go')
-rw-r--r-- | resources/transform.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/transform.go b/resources/transform.go index a37011acd..3477c710f 100644 --- a/resources/transform.go +++ b/resources/transform.go @@ -15,6 +15,7 @@ package resources import ( "bytes" + "context" "fmt" "image" "io" @@ -159,12 +160,12 @@ type resourceAdapter struct { *resourceAdapterInner } -func (r *resourceAdapter) Content() (any, error) { +func (r *resourceAdapter) Content(context.Context) (any, error) { r.init(false, true) if r.transformationsErr != nil { return nil, r.transformationsErr } - return r.target.Content() + return r.target.Content(context.Background()) } func (r *resourceAdapter) Err() resource.ResourceError { |