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
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ type ListPluginsInput struct{}
// ListPluginsResponse is the response from the ListPlugins call.
type ListPluginsResponse struct {
// 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