mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
20028325da
Perform plugin mounts in the runtime
9 lines
305 B
Go
9 lines
305 B
Go
// +build !windows
|
|
|
|
package plugins // import "github.com/docker/docker/pkg/plugins"
|
|
|
|
// ScopedPath returns the path scoped to the plugin's rootfs.
|
|
// For v1 plugins, this always returns the path unchanged as v1 plugins run directly on the host.
|
|
func (p *Plugin) ScopedPath(s string) string {
|
|
return s
|
|
}
|