Commit 5e1bdf06 by Nepxion

修复Redis清除规则时的Bug

parent 68884af6
......@@ -25,7 +25,11 @@ public class RedisOperation {
}
public boolean removeConfig(String group, String serviceId) {
return hashOperations.delete(group, serviceId) == 1;
publishConfig(group, serviceId, "");
return true;
// return hashOperations.delete(group, serviceId) == 1;
}
public boolean publishConfig(String group, String serviceId, String config) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment