Skip to content

Commit 0fc32bd

Browse files
author
Adrien Pensart
committed
support flavor disabled field
1 parent 3c92763 commit 0fc32bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openstack/compute/v2/flavors/results.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ type Flavor struct {
7373
// IsPublic indicates whether the flavor is public.
7474
IsPublic bool `json:"os-flavor-access:is_public"`
7575

76+
// Disabled indicates a disabled flavor
77+
Disabled bool `json:"OS-FLV-DISABLED:disabled"`
78+
7679
// Ephemeral is the amount of ephemeral disk space, measured in GB.
7780
Ephemeral int `json:"OS-FLV-EXT-DATA:ephemeral"`
7881

0 commit comments

Comments
 (0)