This commit is contained in:
asteam committed 2025-09-26 19:17:30 +03:00
1 parent 48e2b0f2f9
commit 1ccc37a104
1022 files changed
+6440 -1688

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@ import (
"encoding/json"
"net/http"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v10/internal/validators"
"repository.basistech.ru/BASIS/dynamix-golang-sdk/v11/internal/validators"
)
// ListDeletedRequest struct to get deleted computes list
@@ -60,7 +60,7 @@ type ListDeletedRequest struct {
}
// ListDeleted gets list all deleted computes
func (c Compute) ListDeleted(ctx context.Context, req ListDeletedRequest) (*ListComputes, error) {
func (c Compute) ListDeleted(ctx context.Context, req ListDeletedRequest) (*ListDeletedComputes, error) {
if err := validators.ValidateRequest(req); err != nil {
return nil, validators.ValidationErrors(validators.GetErrors(err))
@@ -73,7 +73,7 @@ func (c Compute) ListDeleted(ctx context.Context, req ListDeletedRequest) (*List
return nil, err
}
list := ListComputes{}
list := ListDeletedComputes{}
err = json.Unmarshal(res, &list)
if err != nil {