diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f96bb4..c3f640f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,48 +1,15 @@ -## Version 1.1.0 +## Version 1.1.1 -### Features +### Bug fixes #### CloudAPI -- Account - - Delete "ResTypes" field in Create/Update request structs - - Add fields "DiskSizeMax", "Shareable", "SEPs" in Get/List response structs -- BService - - Add fields "SEPID", "SEPPool" in GroupAdd request structs - - Add field "PoolName" in List/ListDeleted response structs -- Compute - - Add fields "PresentTo", "Shareable" in Get/List/ListDeleted response structs - Disks - - Add fields "PresentTo", "Shareable", "Computes" in Get/List/ListDeleted/ListUnattached/Search response structs - - Delete fields "ComputeID", "ComputeName" in List/ListDeleted/ListUnattached/Search response structs - - Add Share/Unshare methods -- FLIPgroup - - Add field "ClientNames" in Get response struct -- Image - - Add field "PresentTo" in Get response struct -- RG - - Delete "ResTypes" field in Create/Update request structs - - Add fields "DiskSizeMax", "Shareable", "SEPs" in Get/List response structs + - Change the SizeUsed field type to float64 +- Compute + - Chnage the SizeUsed field type to float64 #### Cloudbroker -- Account - - Add fields "SEPs", "ResourceTypes", "PresentTo", "DiskSizeMax", "UniqPools", "Shareable" in Get/List/ListDeleted/ListDisks/ListRG response structs -- Compute - - Add fields "VINSConnected", "TotalDiskSize", "Shareable", "PresentTo" in Get/List/ListDeleted response structs - Disks - - Add fields "ReferenceID", "Shareable", "PresentTo", "Computes" in List/ListDeleted/ListUnattached/Search response structs - - Delete fields "ComputeID", "ComputeName" in List/ListDeleted/ListUnattached/Search response structs - - Add Share/Unshare methods -- Grid - - Add fields "SEPs", "DiskSizeMax" in Get/List response structs -- Image - - Add field "PresentTo" in Get response struct -- KVMX86 - - Add field "Userdata" in MassCreate request struct - - Delete field "IPAddr" in MassCreate request struct -- KVMPPC - - Add field "Userdata" in MassCreate request struct - - Delete field "IPAddr" in MassCreate request struct -- RG - - Add fields "DiskSizeMax", "Shareable", "SEPs" in Get/List response structs + - Change the SizeUsed field type to float64 diff --git a/pkg/cloudapi/compute/models.go b/pkg/cloudapi/compute/models.go index e1f5407..82192eb 100644 --- a/pkg/cloudapi/compute/models.go +++ b/pkg/cloudapi/compute/models.go @@ -622,7 +622,7 @@ type ItemComputeDisk struct { SizeMax uint64 `json:"sizeMax"` //Size used - SizeUsed uint64 `json:"sizeUsed"` + SizeUsed float64 `json:"sizeUsed"` // List extend snapshots Snapshots SnapshotExtendList `json:"snapshots"` diff --git a/pkg/cloudapi/disks/models.go b/pkg/cloudapi/disks/models.go index 06dab86..b13515e 100644 --- a/pkg/cloudapi/disks/models.go +++ b/pkg/cloudapi/disks/models.go @@ -96,7 +96,7 @@ type ItemDisk struct { SizeMax uint64 `json:"sizeMax"` // Size used - SizeUsed uint64 `json:"sizeUsed"` + SizeUsed float64 `json:"sizeUsed"` // List of snapshots Snapshots ListSnapshots `json:"snapshots"` @@ -273,7 +273,7 @@ type RecordDisk struct { SizeMax uint64 `json:"sizeMax"` // Size used - SizeUsed uint64 `json:"sizeUsed"` + SizeUsed float64 `json:"sizeUsed"` // List of snapshots Snapshots ListSnapshots `json:"snapshots"` diff --git a/pkg/cloudbroker/compute/models.go b/pkg/cloudbroker/compute/models.go index 62248ec..947db6c 100644 --- a/pkg/cloudbroker/compute/models.go +++ b/pkg/cloudbroker/compute/models.go @@ -435,7 +435,7 @@ type ItemDisk struct { SizeMax uint64 `json:"sizeMax"` // Size used - SizeUsed uint64 `json:"sizeUsed"` + SizeUsed float64 `json:"sizeUsed"` // List detailed snapshots Snapshots ListDetailedSnapshots `json:"snapshots"`