This commit is contained in:
2024-03-06 17:02:50 +03:00
parent 83bf1fb1fa
commit de9cca4053
49 changed files with 1962 additions and 720 deletions

View File

@@ -202,7 +202,7 @@ func (k8s K8S) Create(ctx context.Context, req CreateRequest) (string, error) {
url := "/cloudapi/k8s/create"
res, err := k8s.client.DecortApiCall(ctx, http.MethodPost, url, req)
res, err := k8s.client.DecortApiCallMP(ctx, http.MethodPost, url, req)
if err != nil {
return "", err
}

View File

@@ -17,7 +17,7 @@ type DeleteRequest struct {
// True if cluster is destroyed permanently.
// Otherwise it can be restored from Recycle Bin
// Required: true
Permanently bool `url:"permanently" json:"permanently" validate:"required"`
Permanently bool `url:"permanently" json:"permanently"`
}
// Delete deletes kubernetes cluster