mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
remove cephRootPrefix as global var
This commit is contained in:
parent
295202b98e
commit
2097741607
@ -30,12 +30,8 @@ const (
|
||||
namespacePrefix = "ns-"
|
||||
)
|
||||
|
||||
var (
|
||||
cephRootPrefix = "/controller/volumes/root-"
|
||||
)
|
||||
|
||||
func getCephRootPathLocal(volID volumeID) string {
|
||||
return PluginFolder + cephRootPrefix + string(volID)
|
||||
return fmt.Sprintf("%s/controller/volumes/root-%s", PluginFolder, string(volID))
|
||||
}
|
||||
|
||||
func getCephRootVolumePathLocal(volID volumeID) string {
|
||||
|
Loading…
Reference in New Issue
Block a user