fix copy docker cret

This commit is contained in:
bwcx_jzy 2022-02-08 14:36:27 +08:00
parent 87a061f29b
commit e03395efdd
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5

View File

@ -210,7 +210,7 @@ public class DockerInfoController extends BaseServerController {
if (certExist) {
if (FileUtil.isDirectory(savePath) && FileUtil.isNotEmpty(savePath)) {
String generateCertPath = dockerInfoModel.generateCertPath();
FileUtil.move(savePath, FileUtil.file(generateCertPath), true);
FileUtil.moveContent(savePath, FileUtil.file(generateCertPath), true);
}
}
IPlugin plugin = PluginFactory.getPlugin(DockerInfoService.DOCKER_CHECK_PLUGIN_NAME);