This allows pkg/authorization to build on OS X. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: 3da119282806187079b1a6dfdfb0de7631a78647 Component: engine
10 lines
242 B
Go
10 lines
242 B
Go
// +build !windows
|
|
|
|
package plugins
|
|
|
|
// BasePath returns the path to which all paths returned by the plugin are relative to.
|
|
// For v1 plugins, this always returns the host's root directory.
|
|
func (p *Plugin) BasePath() string {
|
|
return "/"
|
|
}
|