Commit bad58750 by Nepxion

清除配置的时候,顺便删除Redis的Key

parent f378f102
......@@ -27,9 +27,7 @@ public class RedisOperation {
public boolean removeConfig(String group, String serviceId) {
publishConfig(group, serviceId, "");
return true;
// return hashOperations.delete(group, serviceId) == 1;
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