Chore: Rename Id to ID in alerting models (#62777)
* Chore: Rename Id to ID in alerting models * Add xorm tags for datasource * Add xorm tag for uid
This commit is contained in:
@@ -32,7 +32,7 @@ func TestServicebuildPipeLine(t *testing.T) {
|
||||
{
|
||||
RefID: "B",
|
||||
DataSource: &datasources.DataSource{
|
||||
Uid: "Fake",
|
||||
UID: "Fake",
|
||||
},
|
||||
TimeRange: AbsoluteTimeRange{},
|
||||
},
|
||||
@@ -143,7 +143,7 @@ func TestServicebuildPipeLine(t *testing.T) {
|
||||
{
|
||||
RefID: "C",
|
||||
DataSource: &datasources.DataSource{
|
||||
Uid: "Fake",
|
||||
UID: "Fake",
|
||||
},
|
||||
TimeRange: AbsoluteTimeRange{},
|
||||
},
|
||||
@@ -198,7 +198,7 @@ func TestServicebuildPipeLine(t *testing.T) {
|
||||
{
|
||||
RefID: "C",
|
||||
DataSource: &datasources.DataSource{
|
||||
Uid: "Fake",
|
||||
UID: "Fake",
|
||||
},
|
||||
TimeRange: AbsoluteTimeRange{},
|
||||
},
|
||||
@@ -222,7 +222,7 @@ func TestServicebuildPipeLine(t *testing.T) {
|
||||
{
|
||||
RefID: "B",
|
||||
DataSource: &datasources.DataSource{
|
||||
Uid: "Fake",
|
||||
UID: "Fake",
|
||||
},
|
||||
TimeRange: AbsoluteTimeRange{},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user