Skip to content

Commit ad8e96e

Browse files
authored
Merge pull request #1149 from futuretea/diskSize
2 parents bcadb6d + 642c122 commit ad8e96e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

rancher2/schema_machine_config_v2_harvester.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func machineConfigV2HarvesterFields() map[string]*schema.Schema {
3333
"disk_size": {
3434
Type: schema.TypeString,
3535
Optional: true,
36+
Default: "0",
3637
ConflictsWith: []string{
3738
"harvester_config.0.disk_info",
3839
},

rancher2/schema_node_template_harvester.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func harvesterConfigFields() map[string]*schema.Schema {
6868
"disk_size": {
6969
Type: schema.TypeString,
7070
Optional: true,
71+
Default: "0",
7172
ConflictsWith: []string{
7273
"harvester_config.0.disk_info",
7374
},

0 commit comments

Comments
 (0)