Skip to content

Commit

Permalink
fix list disk attachable servers
Browse files Browse the repository at this point in the history
  • Loading branch information
wanyaoqi committed May 21, 2020
1 parent daf9db8 commit df2e05b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/apis/compute/guests.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ type ServerListInput struct {
UsableServerForEip string `json:"usable_server_for_eip"`

// 列出可以挂载磁盘的主机
AttachableServersForDisk string `json:"attachable_servers_for_disk" "yunion:deprecated-by":"disk"`
AttachableServersForDisk string `json:"attachable_servers_for_disk"`
// Deprecated:列出可以挂载磁盘的主机
Disk string `json:"disk" "yunion:deprecated-by":"attachable_servers_for_disk"`

// 按主机资源类型进行排序
// enum: shared,prepaid,dedicated
Expand Down

0 comments on commit df2e05b

Please sign in to comment.