Add json tag to names response for sys_plugins

This commit is contained in:
Jeff Mitchell 2018-08-09 18:02:03 -04:00
parent 14dccd7744
commit 67b160eb42

View file

@ -12,7 +12,7 @@ type ListPluginsInput struct{}
// ListPluginsResponse is the response from the ListPlugins call. // ListPluginsResponse is the response from the ListPlugins call.
type ListPluginsResponse struct { type ListPluginsResponse struct {
// Names is the list of names of the plugins. // Names is the list of names of the plugins.
Names []string Names []string `json:"names"`
} }
// ListPlugins lists all plugins in the catalog and returns their names as a // ListPlugins lists all plugins in the catalog and returns their names as a