Skip to content

InferredModules omits the get prefix on data source tokens #3593

Description

@guineveresaenger

While upgrading the Signalfx provider I discovered that two datasource tokens computed via InferredModules silently come out named like resources:

signalfx:index/autoDetector:AutoDetector          # actual
signalfx:index/getAutoDetector:getAutoDetector    # expected

Documented behaviour is getDatasource. I explicitly mapped the affected data sources in the signalfx provider to side-step autonaming and a workaround. But this is a silent bug and may be out in the wild for other datasources elsewhere.

Metadata

Metadata

Labels

kind/bugSome behavior is incorrect or out of spec

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions