diff --git a/public/app/plugins/datasource/tempo/datasource.ts b/public/app/plugins/datasource/tempo/datasource.ts index 5cd6c09cf1b..32d5668fa4b 100644 --- a/public/app/plugins/datasource/tempo/datasource.ts +++ b/public/app/plugins/datasource/tempo/datasource.ts @@ -232,7 +232,7 @@ export class TempoDatasource extends DataSourceWithBackend-`, possibly with a `-WIP` suffix (e.g., `main-12bdeff-WIP`). // Thus, if the version is in the form `-`, assume that we are on the most updated // Tempo version and thus any feature should be considered enabled - if (/^.*-[a-zA-Z0-9_]{7}(-WIP)?$/.test(actualVersion)) { + if (/^.*-[a-zA-Z0-9_]+(-WIP)?$/.test(actualVersion)) { return true; }