mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 21:10:22 +00:00
issue #285
fix unexpect getCephRootPathLocal value PluginFolder update at main.go, so cephRootPrefix may get unexpected value
This commit is contained in:
parent
da52e8cc63
commit
295202b98e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user