mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
[fix] fix container controller use root path's bug
This commit is contained in:
parent
42cc5437b7
commit
ece52eecaf
@ -2,7 +2,6 @@ package com.github.kfcfans.oms.server.web.controller;
|
|||||||
|
|
||||||
import com.github.kfcfans.oms.common.response.ResultDTO;
|
import com.github.kfcfans.oms.common.response.ResultDTO;
|
||||||
import com.github.kfcfans.oms.server.common.constans.ContainerSourceType;
|
import com.github.kfcfans.oms.server.common.constans.ContainerSourceType;
|
||||||
import com.github.kfcfans.oms.server.common.constans.ContainerStatus;
|
|
||||||
import com.github.kfcfans.oms.server.common.utils.OmsFilePathUtils;
|
import com.github.kfcfans.oms.server.common.utils.OmsFilePathUtils;
|
||||||
import com.github.kfcfans.oms.server.persistence.core.model.ContainerInfoDO;
|
import com.github.kfcfans.oms.server.persistence.core.model.ContainerInfoDO;
|
||||||
import com.github.kfcfans.oms.server.persistence.core.repository.ContainerInfoRepository;
|
import com.github.kfcfans.oms.server.persistence.core.repository.ContainerInfoRepository;
|
||||||
@ -35,7 +34,7 @@ import java.util.stream.Collectors;
|
|||||||
* @since 2020/5/15
|
* @since 2020/5/15
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@RestController
|
@RestController("/container")
|
||||||
public class ContainerController {
|
public class ContainerController {
|
||||||
|
|
||||||
private GridFsTemplate gridFsTemplate;
|
private GridFsTemplate gridFsTemplate;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user