mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
daemon: info: remove exported getter
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
e7e3e568d1
commit
77ef3a606a
1 changed files with 1 additions and 7 deletions
|
@ -142,17 +142,11 @@ func (daemon *Daemon) showPluginsInfo() types.PluginsInfo {
|
||||||
pluginsInfo.Network = append(pluginsInfo.Network, nd)
|
pluginsInfo.Network = append(pluginsInfo.Network, nd)
|
||||||
}
|
}
|
||||||
|
|
||||||
pluginsInfo.Authorization = daemon.GetAuthorizationPluginsList()
|
pluginsInfo.Authorization = daemon.configStore.AuthZPlugins
|
||||||
|
|
||||||
return pluginsInfo
|
return pluginsInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetAuthorizationPluginsList returns the list of plugins drivers
|
|
||||||
// registered for authorization.
|
|
||||||
func (daemon *Daemon) GetAuthorizationPluginsList() []string {
|
|
||||||
return daemon.configStore.AuthZPlugins
|
|
||||||
}
|
|
||||||
|
|
||||||
// The uppercase and the lowercase are available for the proxy settings.
|
// The uppercase and the lowercase are available for the proxy settings.
|
||||||
// See the Go specification for details on these variables. https://golang.org/pkg/net/http/
|
// See the Go specification for details on these variables. https://golang.org/pkg/net/http/
|
||||||
func getProxyEnv(key string) string {
|
func getProxyEnv(key string) string {
|
||||||
|
|
Loading…
Reference in a new issue