Include overlay diagnostics in report JSON
This commit is contained in:
1 parent
ddfc8c2fa4
commit
eaf1f7cc13
5 files changed
+94
-1
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user