mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
api, client: don't use a pointer-slice for plugins
The backend and router don't use a pointer-slice (the server actually doesn't use the `plugin.ListResponse` type and a straight slice);778e5bfad3/daemon/server/router/plugin/backend.go (L20)6baf274fa3/daemon/server/router/plugin/plugin_routes.go (L276-L280)Align the type in the API to match, and update the type defined in the client accordingly. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
// ListResponse contains the response for the Engine API
|
||||
type ListResponse []*Plugin
|
||||
type ListResponse []Plugin
|
||||
|
||||
// Privilege describes a permission the user has to accept
|
||||
// upon installing a plugin.
|
||||
|
||||
Reference in New Issue
Block a user