From 6271fa6d45eb9e9ea66905d47a18b5a11b7fb3fe Mon Sep 17 00:00:00 2001 From: stSolo Date: Mon, 22 Aug 2022 11:28:53 +0300 Subject: [PATCH] Merge branch 'dev' into 'main' --- pkg/cloudapi/k8s/list.go | 6 +++--- pkg/cloudapi/k8s/list_deleted.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/cloudapi/k8s/list.go b/pkg/cloudapi/k8s/list.go index 7eb89e8..a48e76b 100644 --- a/pkg/cloudapi/k8s/list.go +++ b/pkg/cloudapi/k8s/list.go @@ -9,9 +9,9 @@ import ( ) type ListRequest struct { - IncludeDeleted bool `json:"includedeleted"` - Page uint64 `json:"page"` - Size uint64 `json:"size"` + IncludeDeleted bool `url:"includedeleted"` + Page uint64 `url:"page"` + Size uint64 `url:"size"` } func (k8s K8S) List(ctx context.Context, req ListRequest, options ...opts.DecortOpts) (K8SList, error) { diff --git a/pkg/cloudapi/k8s/list_deleted.go b/pkg/cloudapi/k8s/list_deleted.go index 01375a0..cb4fcea 100644 --- a/pkg/cloudapi/k8s/list_deleted.go +++ b/pkg/cloudapi/k8s/list_deleted.go @@ -9,8 +9,8 @@ import ( ) type ListDeletedRequest struct { - Page uint64 `json:"page"` - Size uint64 `json:"size"` + Page uint64 `url:"page"` + Size uint64 `url:"size"` } func (k8s K8S) ListDeleted(ctx context.Context, req ListDeletedRequest, options ...opts.DecortOpts) (K8SList, error) {