mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
create instance tips fix && min_ram fix
This commit is contained in:
@@ -52,6 +52,10 @@ type SImage struct {
|
||||
visibility string
|
||||
}
|
||||
|
||||
func (image *SImage) GetMinRamSizeMb() int {
|
||||
return image.MinRAM
|
||||
}
|
||||
|
||||
func (region *SRegion) GetImages(name string, status string, imageIds []string) ([]SImage, error) {
|
||||
params := url.Values{}
|
||||
if utils.IsInStringArray(status, []string{QUEUED, SAVING, ACTIVE, KILLED, DELETED, PENDING_DELETE, DEACTIVATED, UPLOADING, IMPORTING}) {
|
||||
|
||||
Reference in New Issue
Block a user