Skip to content
Snippets Groups Projects

Resolve "Missing plugin information if requesting a network element"

1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -58,9 +58,15 @@ The actual network element is not queried directly.`,
panel1 := pterm.DefaultBox.WithTitle("UUID:").Sprint(mne.Id)
panel2 := pterm.DefaultBox.WithTitle("Name:").Sprint(mne.Name)
panel3 := pterm.DefaultBox.WithTitle("Plugin-ID:").Sprint(mne.Plugin.Id)
panel4 := pterm.DefaultBox.WithTitle("Manifest:").Sprint(mne.Plugin.Manifest)
panel5 := pterm.DefaultBox.WithTitle("Plugin:").Sprint(panel3, "\n", panel4)
panels, _ := pterm.DefaultPanel.WithPanels(pterm.Panels{
{{Data: panel1}},
{{Data: panel2}},
{{Data: panel5}},
}).Srender()
pterm.DefaultBox.WithRightPadding(0).WithBottomPadding(0).Println(panels)
Loading