mirror of
https://github.com/grafana/grafana.git
synced 2025-01-10 08:03:58 -06:00
Alerting: Fix feedback (#57922)
This commit is contained in:
parent
215ffee437
commit
f2e4cb7c4e
@ -205,13 +205,13 @@ func (r *LotexRuler) validateAndGetPrefix(ctx *models.ReqContext) (string, error
|
||||
subTypePrefix, ok := subtypeToPrefix[subtype]
|
||||
if !ok {
|
||||
r.log.Debug(
|
||||
"unable to determine prometheus datasource subtype, using default prefix",
|
||||
"datasource", ds.Uid, "datasource_type", ds.Type, "subtype", subtype, "prefix", prefix)
|
||||
"Unable to determine prometheus datasource subtype, using default prefix",
|
||||
"datasource", ds.Uid, "datasourceType", ds.Type, "subtype", subtype, "prefix", prefix)
|
||||
return prefix, nil
|
||||
}
|
||||
|
||||
r.log.Debug("determined prometheus datasource subtype",
|
||||
"datasource", ds.Uid, "datasource_type", ds.Type, "subtype", subtype)
|
||||
r.log.Debug("Determined prometheus datasource subtype",
|
||||
"datasource", ds.Uid, "datasourceType", ds.Type, "subtype", subtype)
|
||||
return subTypePrefix, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user