...
|
...
|
@@ -147,6 +147,7 @@ public class DockerServerDeployService { |
|
|
public List<List<String>> queryInstanceStatus(String clusterId, String namespace, String serviceName) {
|
|
|
List<List<String>> ls=new ArrayList<>();
|
|
|
JSONObject searchResult = txServer.describeServiceInstance(clusterId, namespace,serviceName );
|
|
|
logger.info("queryInstanceStatus {}",searchResult);
|
|
|
if(searchResult!=null&&searchResult.getInteger("code")!=null&& searchResult.getInteger("code").equals(NumberUtils.INTEGER_ZERO)){
|
|
|
JSONArray ja=searchResult.getJSONObject("data").getJSONArray("instanaces");
|
|
|
if(ja!=null){
|
...
|
...
|
|