Make linter happy

This commit is contained in:
Alfonso Acosta
2016-10-05 13:07:17 +00:00
parent 3f27d5f6cc
commit 5eabf5436c
3 changed files with 5 additions and 1 deletions

View File

@@ -189,10 +189,12 @@ func (cr conditionalRenderer) Stats(rpt report.Report, dct Decorator) Stats {
// ConstantRenderer renders a fixed set of nodes
type ConstantRenderer report.Nodes
// Render implements Renderer
func (c ConstantRenderer) Render(_ report.Report, _ Decorator) report.Nodes {
return report.Nodes(c)
}
// Stats implements Renderer
func (c ConstantRenderer) Stats(_ report.Report, _ Decorator) Stats {
return Stats{}
}