This cleans up some of the package API's used for interacting with volumes, and simplifies management. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: e4b6adc88e967971de634596654d9bc33e7bd7e0 Component: engine
10 lines
295 B
Go
10 lines
295 B
Go
// +build linux freebsd darwin
|
|
|
|
package service // import "github.com/docker/docker/volume/service"
|
|
|
|
// normalizeVolumeName is a platform specific function to normalize the name
|
|
// of a volume. This is a no-op on Unix-like platforms
|
|
func normalizeVolumeName(name string) string {
|
|
return name
|
|
}
|