Commit a8a95ae
fix: remove duplicate HAProxy widget registration from main.go
The dashboard plugin had its own copy of HAProxy widget definitions
that main.go called directly. Now that the haproxy plugin is imported
and registers those same widgets during Initialize(), the explicit
call in main.go caused a "widget type already registered" conflict.
Removed the dashboardPlugin.RegisterHAProxyWidgets() call and
converted the dashboard import to a blank import.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 523424c commit a8a95ae
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | 375 | | |
381 | 376 | | |
382 | 377 | | |
| |||
0 commit comments