mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Addressed the comments and fixed the tests.
This commit is contained in:
@@ -146,9 +146,8 @@ func (ad applyDecorator) Stats(rpt report.Report, dct Decorator) Stats {
|
||||
return Stats{}
|
||||
}
|
||||
|
||||
// ApplyDecorators returns a renderer which will apply the given decorators
|
||||
// to the child render.
|
||||
func ApplyDecorators(renderer Renderer) Renderer {
|
||||
// ApplyDecorator returns a renderer which will apply the given decorator to the child render.
|
||||
func ApplyDecorator(renderer Renderer) Renderer {
|
||||
return applyDecorator{renderer}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user