resources: Rename the Data struct to ResData to avoid ambiguity

There's a similarly named gapi.Data struct which we could also rename.
This commit is contained in:
James Shubin
2017-06-02 02:23:15 -04:00
parent bf476a058e
commit c35916fad1
3 changed files with 7 additions and 7 deletions

View File

@@ -371,7 +371,7 @@ func (obj *Main) Run() error {
EmbdEtcd: EmbdEtcd,
}
graph.Data = &resources.Data{
graph.Data = &resources.ResData{
Hostname: hostname,
Converger: converger,
Prometheus: prom,