Rename widget type
This commit is contained in:
@@ -79,7 +79,7 @@ func newWidget(widgetType string) (widget, error) {
|
||||
w = &dockerContainersWidget{}
|
||||
case "server-stats":
|
||||
w = &serverStatsWidget{}
|
||||
case "todo":
|
||||
case "to-do":
|
||||
w = &todoWidget{}
|
||||
default:
|
||||
return nil, fmt.Errorf("unknown widget type: %s", widgetType)
|
||||
|
||||
Reference in New Issue
Block a user