From 8c330eaa4c1e6b012a09659e16b2498dec34957e Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 25 Mar 2022 16:05:13 +0800 Subject: [PATCH] optimization method definition (#7986) --- .../address/controller/AddressServerClusterController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java b/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java index 9ce822597..fef68f10c 100644 --- a/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java +++ b/address/src/main/java/com/alibaba/nacos/address/controller/AddressServerClusterController.java @@ -113,10 +113,10 @@ public class AddressServerClusterController { * @param product Ip list of products to be associated * @param cluster Ip list of product cluster to be associated * @param ips will delete ips. - * @return delete result + * @return delete result (the cluster information is return if success, exception information is return if fail) */ @RequestMapping(value = "", method = RequestMethod.DELETE) - public ResponseEntity deleteCluster(@RequestParam(required = false) String product, + public ResponseEntity deleteCluster(@RequestParam(required = false) String product, @RequestParam(required = false) String cluster, @RequestParam String ips) { //1. prepare the storage name for product and cluster String productName = addressServerGeneratorManager.generateProductName(product);