Compare commits

..

3 Commits

Author SHA1 Message Date
e7b30fb686 v1.6.12 2024-03-18 15:18:17 +03:00
cf11855fa3 v1.6.11 2024-01-22 14:08:06 +03:00
f111787976 v1.6.10 2023-12-14 17:52:12 +03:00
4 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,7 @@
## Version 1.6.13
## Version 1.6.12
### Bugfix
- Fix url for Disable method in cloudapi/bservice
- Fix allowed network plugin value from "weawenet" to "weavenet" in validators for cloudapi/k8s, cloudbroker/k8s and cloudbroker/k8ci
- Delete omitempty from json, url tags in field Permanently in model DeleteRequest in cloudbroker/k8ci and cloudbroker/k8s
- Fix panic in SnapshotList method in cloudapi/bservice
- Fix panic in AffinityGroupsList method in cloudapi/rg

View File

@@ -24,7 +24,7 @@ func (b BService) Disable(ctx context.Context, req DisableRequest) (bool, error)
return false, validators.ValidationErrors(validators.GetErrors(err))
}
url := "/cloudapi/bservice/disable"
url := "/cloudapi/bservice/delete"
res, err := b.client.DecortApiCall(ctx, http.MethodPost, url, req)
if err != nil {

View File

@@ -43,4 +43,4 @@ func (lpd ListPCIDevices) IDs() []uint64 {
res = append(res, pd.ID)
}
return res
}
}

View File

@@ -721,7 +721,7 @@ type RecordCompute struct {
}
// Information about of disk IDs
type ListInfoDisks []InfoDisk
type ListInfoDisks []InfoDisk
// Main information about compute for list
type ItemCompute struct {