Showing
1 changed file
with
1 additions
and
0 deletions
@@ -147,6 +147,7 @@ public class DockerServerDeployService { | @@ -147,6 +147,7 @@ public class DockerServerDeployService { | ||
147 | public List<List<String>> queryInstanceStatus(String clusterId, String namespace, String serviceName) { | 147 | public List<List<String>> queryInstanceStatus(String clusterId, String namespace, String serviceName) { |
148 | List<List<String>> ls=new ArrayList<>(); | 148 | List<List<String>> ls=new ArrayList<>(); |
149 | JSONObject searchResult = txServer.describeServiceInstance(clusterId, namespace,serviceName ); | 149 | JSONObject searchResult = txServer.describeServiceInstance(clusterId, namespace,serviceName ); |
150 | + logger.info("queryInstanceStatus {}",searchResult); | ||
150 | if(searchResult!=null&&searchResult.getInteger("code")!=null&& searchResult.getInteger("code").equals(NumberUtils.INTEGER_ZERO)){ | 151 | if(searchResult!=null&&searchResult.getInteger("code")!=null&& searchResult.getInteger("code").equals(NumberUtils.INTEGER_ZERO)){ |
151 | JSONArray ja=searchResult.getJSONObject("data").getJSONArray("instanaces"); | 152 | JSONArray ja=searchResult.getJSONObject("data").getJSONArray("instanaces"); |
152 | if(ja!=null){ | 153 | if(ja!=null){ |
-
Please register or login to post a comment