mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
issue #285
fix unexpect getCephRootPathLocal value PluginFolder update at main.go, so cephRootPrefix may get unexpected value
This commit is contained in:
@ -31,11 +31,11 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
cephRootPrefix = PluginFolder + "/controller/volumes/root-"
|
||||
cephRootPrefix = "/controller/volumes/root-"
|
||||
)
|
||||
|
||||
func getCephRootPathLocal(volID volumeID) string {
|
||||
return cephRootPrefix + string(volID)
|
||||
return PluginFolder + cephRootPrefix + string(volID)
|
||||
}
|
||||
|
||||
func getCephRootVolumePathLocal(volID volumeID) string {
|
||||
|
Reference in New Issue
Block a user