4.10.1
This commit is contained in:
@@ -86,7 +86,8 @@ func flattenConsumption(info node.ConsumptionInfo) []map[string]interface{} {
|
||||
}
|
||||
|
||||
tempFree := map[string]interface{}{
|
||||
"ram": info.Free.RAM,
|
||||
"ram": info.Free.RAM,
|
||||
"vcpu": info.Free.VCPU,
|
||||
}
|
||||
tempRes["free"] = []map[string]interface{}{
|
||||
tempFree,
|
||||
|
||||
@@ -43,6 +43,10 @@ func dataSourceNodeSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Elem: &schema.Resource{
|
||||
Schema: map[string]*schema.Schema{
|
||||
"vcpu": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
},
|
||||
"ram": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
|
||||
Reference in New Issue
Block a user