Merge pull request #2597 from jwhonce/issue/2016
Initialize field in InfoHost struct
This commit is contained in:
		
						commit
						f5afe88098
					
				|  | @ -52,6 +52,7 @@ func (i *LibpodAPI) GetInfo(call iopodman.VarlinkCall) error { | ||||||
| 		Mem_free:        host["MemFree"].(int64), | 		Mem_free:        host["MemFree"].(int64), | ||||||
| 		Mem_total:       host["MemTotal"].(int64), | 		Mem_total:       host["MemTotal"].(int64), | ||||||
| 		Swap_free:       host["SwapFree"].(int64), | 		Swap_free:       host["SwapFree"].(int64), | ||||||
|  | 		Swap_total:      host["SwapTotal"].(int64), | ||||||
| 		Arch:            host["arch"].(string), | 		Arch:            host["arch"].(string), | ||||||
| 		Cpus:            int64(host["cpus"].(int)), | 		Cpus:            int64(host["cpus"].(int)), | ||||||
| 		Hostname:        host["hostname"].(string), | 		Hostname:        host["hostname"].(string), | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue