Include overlay diagnostics in report JSON

This commit is contained in:
Adam Harrison committed 2015-10-13 17:04:56 +01:00
1 parent ddfc8c2fa4
commit eaf1f7cc13
5 files changed
+94 -1

No files matched your search

+7
View File
@@ -21,6 +21,9 @@ type Overlay interface {
// Enhance a features map with overlay-related features
AddFeaturesTo(map[string]string)
// Obtain diagnostic information specific to the overlay
Diagnostics() interface{}
}
type ForwarderParams struct {
@@ -136,3 +139,7 @@ func (NullOverlay) ControlMessage(byte, []byte) {
func (NullOverlay) DisplayName() string {
return "null"
}
func (NullOverlay) Diagnostics() interface{} {
return nil
}