DashboardsCollection#parse: rename 'query' variable to 'title'
Change-Id: Iae59874b731e7fd40068252444868a9aeef41f2e
This commit is contained in:
@@ -211,8 +211,8 @@ public class DashboardsCollection
|
|||||||
DashboardInfo info = newDashboardInfo(refName, path);
|
DashboardInfo info = newDashboardInfo(refName, path);
|
||||||
info.project = project;
|
info.project = project;
|
||||||
info.definingProject = definingProject.getName();
|
info.definingProject = definingProject.getName();
|
||||||
String query = config.getString("dashboard", null, "title");
|
String title = config.getString("dashboard", null, "title");
|
||||||
info.title = replace(project, query == null ? info.path : query);
|
info.title = replace(project, title == null ? info.path : title);
|
||||||
info.description = replace(project, config.getString("dashboard", null, "description"));
|
info.description = replace(project, config.getString("dashboard", null, "description"));
|
||||||
info.foreach = config.getString("dashboard", null, "foreach");
|
info.foreach = config.getString("dashboard", null, "foreach");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user