From 9c83fb8e95adf77d853c23ce5b715e130875cda9 Mon Sep 17 00:00:00 2001 From: haigeek <1142466886@qq.com> Date: Mon, 8 May 2023 19:12:44 +0800 Subject: [PATCH] Fix: method naming typo (#3305) --- .../cloud/examples/example/DockingInterfaceExample.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/src/main/java/com/alibaba/cloud/examples/example/DockingInterfaceExample.java b/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/src/main/java/com/alibaba/cloud/examples/example/DockingInterfaceExample.java index ce9f230bf..40e14e796 100644 --- a/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/src/main/java/com/alibaba/cloud/examples/example/DockingInterfaceExample.java +++ b/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/src/main/java/com/alibaba/cloud/examples/example/DockingInterfaceExample.java @@ -95,8 +95,8 @@ public class DockingInterfaceExample { * @return boolean * @throws NacosException remove config from nacos server failed */ - @RequestMapping("/remoteConfig") - public boolean remoteConfig(@RequestParam("dataId") String dataId, + @RequestMapping("/removeConfig") + public boolean removeConfig(@RequestParam("dataId") String dataId, @RequestParam(value = "group", required = false) String group) throws NacosException { if (StringUtils.isEmpty(group)) {