Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c59ca338a |
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,14 +1,10 @@
|
||||
## Version 1.5.2
|
||||
## Version 1.5.3
|
||||
|
||||
### Bugfix
|
||||
- Fix tag 'url' VINSID field in cloudbroker/account/list_vins
|
||||
- Add a fields SEPID and Pool in ListUnattachedRequest struct in cloudbroker/disks/listUnattached and cloudapi/disks/listUnattached
|
||||
|
||||
- Made the field Reason not required in cloudbroker/account/enable and cloudbroker/account/disable
|
||||
- Delete a field Shared in ListUnattachedRequest struct in cloudbroker/disks/listUnattached
|
||||
|
||||
- Made the field RecursiveDelete required in cloudbroker/account/deleteUser
|
||||
- Delete tag Required at field Permanently in DiskDelRequest struct in cloudbroker/compute/disk_del and cloudapi/compute/disk_del
|
||||
|
||||
- Add a validator function to a workersGroupName field - must be 3 or more symbol
|
||||
|
||||
- Add a token actuality check, add an error handler in client/client-transport and client/http-client
|
||||
|
||||
- Add a fields SEPID and Pool in ListRequest struct in cloudbroker/disks/list and cloudapi/disks/list
|
||||
- Delete tag omitempty at field Permanently in DeleteRequest struct in cloudbroker/image/delete
|
||||
@@ -20,7 +20,7 @@ type DiskDelRequest struct {
|
||||
|
||||
// False if disk is to be deleted to recycle bin
|
||||
// Required: true
|
||||
Permanently bool `url:"permanently" json:"permanently" validate:"required"`
|
||||
Permanently bool `url:"permanently" json:"permanently"`
|
||||
}
|
||||
|
||||
// DiskDel delete disk and detach from compute
|
||||
|
||||
@@ -32,6 +32,14 @@ type ListUnattachedRequest struct {
|
||||
// Required: false
|
||||
AccountID uint64 `url:"accountId,omitempty" json:"accountId,omitempty"`
|
||||
|
||||
// Find by sep ID
|
||||
// Required: false
|
||||
SEPID uint64 `url:"sepId,omitempty" json:"sepId,omitempty"`
|
||||
|
||||
// Find by pool name
|
||||
// Required: false
|
||||
Pool string `url:"pool,omitempty" json:"pool,omitempty"`
|
||||
|
||||
// Page number
|
||||
// Required: false
|
||||
Page uint64 `url:"page,omitempty" json:"page,omitempty"`
|
||||
|
||||
@@ -20,7 +20,7 @@ type DiskDelRequest struct {
|
||||
|
||||
// False if disk is to be deleted to recycle bin
|
||||
// Required: true
|
||||
Permanently bool `url:"permanently" json:"permanently" validate:"required"`
|
||||
Permanently bool `url:"permanently" json:"permanently"`
|
||||
|
||||
// Reason for action
|
||||
// Required: false
|
||||
|
||||
@@ -24,10 +24,6 @@ type ListUnattachedRequest struct {
|
||||
// Required: false
|
||||
Status string `url:"status,omitempty" json:"status,omitempty"`
|
||||
|
||||
// Find by shared, true or false
|
||||
// Required: false
|
||||
Shared bool `url:"shared,omitempty" json:"shared,omitempty"`
|
||||
|
||||
// Type of the disks
|
||||
// Required: false
|
||||
Type string `url:"type,omitempty" json:"type,omitempty"`
|
||||
@@ -36,6 +32,14 @@ type ListUnattachedRequest struct {
|
||||
// Required: false
|
||||
AccountID uint64 `url:"accountId,omitempty" json:"accountId,omitempty"`
|
||||
|
||||
// Find by sep ID
|
||||
// Required: false
|
||||
SEPID uint64 `url:"sepId,omitempty" json:"sepId,omitempty"`
|
||||
|
||||
// Find by pool name
|
||||
// Required: false
|
||||
Pool string `url:"pool,omitempty" json:"pool,omitempty"`
|
||||
|
||||
// Page number
|
||||
// Required: false
|
||||
Page uint64 `url:"page,omitempty" json:"page,omitempty"`
|
||||
|
||||
@@ -20,7 +20,7 @@ type DeleteRequest struct {
|
||||
|
||||
// Whether to completely delete the image
|
||||
// Required: false
|
||||
Permanently bool `url:"permanently,omitempty" json:"permanently,omitempty"`
|
||||
Permanently bool `url:"permanently" json:"permanently"`
|
||||
}
|
||||
|
||||
// Delete deletes image by ID
|
||||
|
||||
Reference in New Issue
Block a user