diff --git a/pkg/apis/compute/storage_const.go b/pkg/apis/compute/storage_const.go index f7bbf2636b..752aa6f827 100644 --- a/pkg/apis/compute/storage_const.go +++ b/pkg/apis/compute/storage_const.go @@ -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云硬盘 diff --git a/pkg/multicloud/google/storage.go b/pkg/multicloud/google/storage.go index e08e7b7217..e56d72ba34 100644 --- a/pkg/multicloud/google/storage.go +++ b/pkg/multicloud/google/storage.go @@ -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 }