mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +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 (
|
var (
|
||||||
cephRootPrefix = PluginFolder + "/controller/volumes/root-"
|
cephRootPrefix = "/controller/volumes/root-"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getCephRootPathLocal(volID volumeID) string {
|
func getCephRootPathLocal(volID volumeID) string {
|
||||||
return cephRootPrefix + string(volID)
|
return PluginFolder + cephRootPrefix + string(volID)
|
||||||
}
|
}
|
||||||
|
|
||||||
func getCephRootVolumePathLocal(volID volumeID) string {
|
func getCephRootVolumePathLocal(volID volumeID) string {
|
||||||
|
Loading…
Reference in New Issue
Block a user