Skip to content

Commit fc93e9a

Browse files
committed
do for datasources too
1 parent 089382f commit fc93e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/datasource/instance_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type InstanceFactoryFunc func(ctx context.Context, settings backend.DataSourceIn
3030
// and providing that to instancemgmt.New.
3131
func NewInstanceManager(fn InstanceFactoryFunc) instancemgmt.InstanceManager {
3232
ip := NewInstanceProvider(fn)
33-
return instancemgmt.New(ip)
33+
return instancemgmt.NewContextAwareInstanceManager(ip)
3434
}
3535

3636
// NewInstanceProvider create a new data source instance provuder,

0 commit comments

Comments
 (0)