mirror of
https://github.com/moby/moby.git
synced 2026-07-15 20:12:07 +00:00
Removed pre-go1.17 build-tags with go fix;
go mod init
go fix -mod=readonly ./...
rm go.mod
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
10 lines
306 B
Go
10 lines
306 B
Go
//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
|
|
}
|