Merge pull request #4264 from ioito/hotfix/qx-gcp-storage

fix: google storage name
This commit is contained in:
yunion-ci-robot
2019-12-21 17:03:06 +08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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云硬盘
+1 -1
View File
@@ -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
}