Skip to content

Commit f378cd4

Browse files
committed
Fix flavor with zero disk
No disk is a valid flavor, it requires you to create volumes instead.
1 parent c006ca6 commit f378cd4

File tree

1 file changed

+1
-1
lines changed
  • openstack-seeder/pkg/seeder/apis/v1

1 file changed

+1
-1
lines changed

openstack-seeder/pkg/seeder/apis/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ type FlavorSpec struct {
200200
Name string `json:"name" yaml:"name"` // flavor name
201201
Id string `json:"id,omitempty" yaml:"id,omitempty"`
202202
Ram int `json:"ram,omitempty" yaml:"ram,omitempty"`
203-
Disk int `json:"disk,omitempty" yaml:"disk,omitempty"`
203+
Disk int `json:"disk" yaml:"disk"`
204204
Vcpus int `json:"vcpus,omitempty" yaml:"vcpus,omitempty"`
205205
Swap int `json:"swap,omitempty" yaml:"swap,omitempty"`
206206
RxTxfactor float32 `json:"rxtxfactor,omitempty" yaml:"rxtxfactor,omitempty"`

0 commit comments

Comments
 (0)