Commit 0ef3ff93 authored by 黎博's avatar 黎博

modify

parent 340708e6
......@@ -36,9 +36,6 @@ public class K8sController {
@Autowired
TkeService tkeService;
@Autowired
K8sService k8sService;
@Autowired
ImageService imageService;
......@@ -499,19 +496,6 @@ public class K8sController {
}
}
/**
* 删除namespace缓存
* @return
*/
@GetMapping("/clearNsCache")
public JsonResult clearNamespaceListCache() {
boolean clearCacheResult = k8sService.deleteNamespaceListCache();
if (clearCacheResult) {
return JsonResult.buildSuccessResult("Namespace列表缓存删除成功!", true);
}
return JsonResult.buildErrorStateResult("Namespace列表缓存删除失败!", false);
}
/**
* 同步dbList
* @param host mongodb host
......
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