启动问题修复
This commit is contained in:
parent
41a0e2cf9f
commit
7a57d6658c
@ -29,7 +29,7 @@ import static java.lang.String.format;
|
||||
@Component
|
||||
public class DockerClientFactory implements CommandLineRunner {
|
||||
|
||||
@Resource
|
||||
@Resource(type = DockerEndpointDao.class)
|
||||
private DockerEndpointDao dockerEndpointDao;
|
||||
@Getter
|
||||
private final Map<String, DockerClient> clientGroup = new ConcurrentHashMap<>();
|
||||
|
@ -10,6 +10,6 @@ import org.apache.ibatis.annotations.Mapper;
|
||||
* @date: 2025/5/26 10:33
|
||||
* @version: 1.0
|
||||
*/
|
||||
@Mapper
|
||||
//@Mapper
|
||||
public interface DockerEndpointDao extends BaseMapperX<DockerEndpointDo> {
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ public class ResourceManagerServiceImpl extends ServiceImpl<PipResourceManagerDa
|
||||
@Resource
|
||||
private PipResourceMachineDao machineDao;
|
||||
|
||||
@Resource
|
||||
@Autowired
|
||||
private PipResourceDockerEndpointDao dockerEndpointDao;
|
||||
|
||||
@Resource
|
||||
|
@ -14,7 +14,7 @@ import org.springframework.context.annotation.ComponentScans;
|
||||
|
||||
@SuppressWarnings("SpringComponentScan")
|
||||
@ComponentScan({"cd.casic"})
|
||||
@MapperScan(basePackages = "cd.casic.ci.**.dal")
|
||||
@MapperScan(basePackages = {"cd.casic.**.dal","cd.casic.**.dao"})
|
||||
@SpringBootApplication(scanBasePackages = {"${ops.info.base-package}.server", "${ops.info.base-package}.module"})
|
||||
public class OpsServerApplication {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user