From bc264c4d90bea0cb814ade7a130c9c790f7f654d Mon Sep 17 00:00:00 2001 From: nlloskutova Date: Thu, 14 Mar 2024 14:58:32 +0300 Subject: [PATCH] v1.7.7 --- CHANGELOG.md | 8 ++------ pkg/cloudapi/bservice/disable.go | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 908ea69..1c3bb74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,4 @@ -## Version 1.7.6 +## Version 1.7.7 ### Bugfix - -- 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 -- Delete ItemAffinityGroup and ListAffinityGroup models and change Data field type in ListAffinityGroups model in order to fix panic for AffinityGroupsList method in cloudapi/rg -- Fix ListAffinityGroups.IDs method accordingly \ No newline at end of file +- Fix url for Disable method in cloudapi/bservice \ No newline at end of file diff --git a/pkg/cloudapi/bservice/disable.go b/pkg/cloudapi/bservice/disable.go index f19faf0..a17eb32 100644 --- a/pkg/cloudapi/bservice/disable.go +++ b/pkg/cloudapi/bservice/disable.go @@ -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/delete" + url := "/cloudapi/bservice/disable" res, err := b.client.DecortApiCall(ctx, http.MethodPost, url, req) if err != nil {