mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #4264 from ioito/hotfix/qx-gcp-storage
fix: google storage name
This commit is contained in:
@@ -72,9 +72,9 @@ const (
|
||||
STORAGE_ZSTACK_CEPH = "ceph"
|
||||
|
||||
// Google storage type
|
||||
STORAGE_GOOGLE_LOCAL_STORAGE = "local-storage" //本地SSD暂存盘 (最多8个)
|
||||
STORAGE_GOOGLE_PD_STANDARD = "pd-standard" //标准永久性磁盘
|
||||
STORAGE_GOOGLE_PD_SSD = "pd-ssd" //SSD永久性磁盘
|
||||
STORAGE_GOOGLE_LOCAL_SSD = "local-ssd" //本地SSD暂存盘 (最多8个)
|
||||
STORAGE_GOOGLE_PD_STANDARD = "pd-standard" //标准永久性磁盘
|
||||
STORAGE_GOOGLE_PD_SSD = "pd-ssd" //SSD永久性磁盘
|
||||
|
||||
// ctyun storage type
|
||||
STORAGE_CTYUN_SSD = "SSD" // 超高IO云硬盘
|
||||
|
||||
@@ -132,5 +132,5 @@ func (storage *SStorage) GetMountPoint() string {
|
||||
}
|
||||
|
||||
func (storage *SStorage) IsSysDiskStore() bool {
|
||||
return storage.Name != api.STORAGE_GOOGLE_LOCAL_STORAGE
|
||||
return storage.Name != api.STORAGE_GOOGLE_LOCAL_SSD
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user