Merge pull request #34249 from thaJeztah/remove-unused-constants

Remove unused constants in plugin_responses
This commit is contained in:
Brian Goff 2017-07-26 16:44:51 -04:00 committed by GitHub
commit 1ea52c4812

View file

@ -9,14 +9,6 @@ import (
// PluginsListResponse contains the response for the Engine API
type PluginsListResponse []*Plugin
const (
authzDriver = "AuthzDriver"
graphDriver = "GraphDriver"
ipamDriver = "IpamDriver"
networkDriver = "NetworkDriver"
volumeDriver = "VolumeDriver"
)
// UnmarshalJSON implements json.Unmarshaler for PluginInterfaceType
func (t *PluginInterfaceType) UnmarshalJSON(p []byte) error {
versionIndex := len(p)