From db0481bbf032af9f5c6c22081757e1626ccaa4bb Mon Sep 17 00:00:00 2001 From: Sapan Date: Tue, 4 Sep 2018 18:59:02 +0530 Subject: [PATCH] fix go vet failure for bms flavors --- openstack/bms/v2/flavors/results.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/bms/v2/flavors/results.go b/openstack/bms/v2/flavors/results.go index e1b83e90f..e3d7cb143 100644 --- a/openstack/bms/v2/flavors/results.go +++ b/openstack/bms/v2/flavors/results.go @@ -33,7 +33,7 @@ type Flavor struct { RxTxFactor float64 `json:"rxtx_factor"` // Swap is the amount of swap space, measured in MB. - Swap int `json:"swap"` + Swap int `json:"-"` // VCPUs indicates how many (virtual) CPUs are available for this flavor. VCPUs int `json:"vcpus"`