diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index 87a5a17..3097708 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -48,8 +48,8 @@ var ( ) // NewSampleDatasource creates a new datasource instance. -func NewSampleDatasource(settings backend.DataSourceInstanceSettings) (instancemgmt.Instance, error) { - opts, err := settings.HTTPClientOptions() +func NewSampleDatasource(ctx context.Context, settings backend.DataSourceInstanceSettings) (instancemgmt.Instance, error) { + opts, err := settings.HTTPClientOptions(ctx) if err != nil { return nil, fmt.Errorf("http client options: %w", err) }