From 0fc75edd398035ddaea866a13f2ba803baf9d484 Mon Sep 17 00:00:00 2001 From: ashishdevtron <141303172+ashishdevtron@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:09:52 +0530 Subject: [PATCH] fix: force delete option fixed on resource browser and app details page (#4646) * common-lib version upgrade * common-lib upgrade --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/devtron-labs/common-lib/utils/k8s/bean.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index bb78e161505..064c4d7a914 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/davecgh/go-spew v1.1.1 github.com/deckarep/golang-set v1.8.0 github.com/devtron-labs/authenticator v0.4.35-0.20240216091211-80e10a80ce7b - github.com/devtron-labs/common-lib v0.0.16-0.20240222073522-5e5933407116 + github.com/devtron-labs/common-lib v0.0.16-0.20240304102639-17132681584e github.com/devtron-labs/protos v0.0.3-0.20240130061723-7b2e12ab0abb github.com/evanphx/json-patch v5.6.0+incompatible github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32 diff --git a/go.sum b/go.sum index f7a1be9a96b..de5efd6898f 100644 --- a/go.sum +++ b/go.sum @@ -221,8 +221,8 @@ github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4 h1:YcpmyvADG github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM= github.com/devtron-labs/authenticator v0.4.35-0.20240216091211-80e10a80ce7b h1:aHKsdB4ghsp+x8167W8MZyF3WQOixTSJFyARrU+qR6s= github.com/devtron-labs/authenticator v0.4.35-0.20240216091211-80e10a80ce7b/go.mod h1:a5gxST+HNmJReXE2TkCicFQFWtlhp8eqBRwS23GydNE= -github.com/devtron-labs/common-lib v0.0.16-0.20240222073522-5e5933407116 h1:j0Qv1UE7zuk3gL9hVuY2UtrjwDECj/YClejnIirATLw= -github.com/devtron-labs/common-lib v0.0.16-0.20240222073522-5e5933407116/go.mod h1:95/DizzVXu1kHap/VwEvdxwgd+BvPVYc0bJzt8yqGDU= +github.com/devtron-labs/common-lib v0.0.16-0.20240304102639-17132681584e h1:tUOhs588RN0TbWF2u5w4NbR7epqzMZ2/0doBXD80MzY= +github.com/devtron-labs/common-lib v0.0.16-0.20240304102639-17132681584e/go.mod h1:95/DizzVXu1kHap/VwEvdxwgd+BvPVYc0bJzt8yqGDU= github.com/devtron-labs/protos v0.0.3-0.20240130061723-7b2e12ab0abb h1:CkfQQgZc950/hTPqtQSiHV2RmZgkBLGCzwR02FZYjAU= github.com/devtron-labs/protos v0.0.3-0.20240130061723-7b2e12ab0abb/go.mod h1:pjLjgoa1GzbkOkvbMyP4SAKsaiK7eG6GoQCNauG03JA= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= diff --git a/vendor/github.com/devtron-labs/common-lib/utils/k8s/bean.go b/vendor/github.com/devtron-labs/common-lib/utils/k8s/bean.go index 8333cc92c0f..75938f4ff73 100644 --- a/vendor/github.com/devtron-labs/common-lib/utils/k8s/bean.go +++ b/vendor/github.com/devtron-labs/common-lib/utils/k8s/bean.go @@ -77,7 +77,7 @@ type K8sRequestBean struct { ResourceIdentifier ResourceIdentifier `json:"resourceIdentifier"` Patch string `json:"patch,omitempty"` PodLogsRequest PodLogsRequest `json:"podLogsRequest,omitempty"` - ForceDelete bool `json:"-"` + ForceDelete bool `json:"forceDelete,omitempty"` } type GetAllApiResourcesResponse struct {