From 0efaa97cfd81155f91880b54fdcb54026c332298 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 9 Aug 2018 18:02:03 -0400 Subject: [PATCH] Add json tag to names response for sys_plugins --- api/sys_plugins.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/sys_plugins.go b/api/sys_plugins.go index 218f8e9389..b2f18d94d7 100644 --- a/api/sys_plugins.go +++ b/api/sys_plugins.go @@ -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