Skip to content

Commit

Permalink
daemon: info: remove exported getter
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Murdaca <[email protected]>
  • Loading branch information
runcom committed Jan 1, 2016
1 parent e7e3e56 commit 77ef3a6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions daemon/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,11 @@ func (daemon *Daemon) showPluginsInfo() types.PluginsInfo {
pluginsInfo.Network = append(pluginsInfo.Network, nd)
}

pluginsInfo.Authorization = daemon.GetAuthorizationPluginsList()
pluginsInfo.Authorization = daemon.configStore.AuthZPlugins

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.
// See the Go specification for details on these variables. https://golang.org/pkg/net/http/
func getProxyEnv(key string) string {
Expand Down

0 comments on commit 77ef3a6

Please sign in to comment.