|
@@ -31,7 +31,7 @@ var (
|
|
// volumeNameRegex ensures the name assigned for the volume is valid.
|
|
// volumeNameRegex ensures the name assigned for the volume is valid.
|
|
// This name is used to create the bind directory, so we need to avoid characters that
|
|
// This name is used to create the bind directory, so we need to avoid characters that
|
|
// would make the path to escape the root directory.
|
|
// would make the path to escape the root directory.
|
|
- volumeNameRegex = utils.RestrictedNamePattern
|
|
|
|
|
|
+ volumeNameRegex = utils.RestrictedVolumeNamePattern
|
|
)
|
|
)
|
|
|
|
|
|
// New instantiates a new Root instance with the provided scope. Scope
|
|
// New instantiates a new Root instance with the provided scope. Scope
|