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
@@ -35,6 +35,14 @@ func (osw *OverlaySwitch) AddFeaturesTo(features map[string]string) {
|
||||
features["Overlays"] = strings.Join(osw.overlayNames, " ")
|
||||
}
|
||||
|
||||
func (osw *OverlaySwitch) Diagnostics() interface{} {
|
||||
diagnostics := make(map[string]interface{})
|
||||
for name, overlay := range osw.overlays {
|
||||
diagnostics[name] = overlay.Diagnostics()
|
||||
}
|
||||
return diagnostics
|
||||
}
|
||||
|
||||
func (osw *OverlaySwitch) InvalidateRoutes() {
|
||||
for _, overlay := range osw.overlays {
|
||||
overlay.InvalidateRoutes()
|
||||
|
||||
Reference in new issue
Block a user