Showing
1 changed file
with
1 additions
and
1 deletions
@@ -149,7 +149,7 @@ public class DockerServerDeployService { | @@ -149,7 +149,7 @@ public class DockerServerDeployService { | ||
149 | JSONObject searchResult = txServer.describeServiceInstance(clusterId, namespace,serviceName ); | 149 | JSONObject searchResult = txServer.describeServiceInstance(clusterId, namespace,serviceName ); |
150 | logger.info("queryInstanceStatus {}",searchResult); | 150 | logger.info("queryInstanceStatus {}",searchResult); |
151 | 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)){ |
152 | - JSONArray ja=searchResult.getJSONObject("data").getJSONArray("instanaces"); | 152 | + JSONArray ja=searchResult.getJSONObject("data").getJSONArray("instances"); |
153 | if(ja!=null){ | 153 | if(ja!=null){ |
154 | for(int i=0;i<ja.size();i++){ | 154 | for(int i=0;i<ja.size();i++){ |
155 | List<String> tmp=new ArrayList<>(); | 155 | List<String> tmp=new ArrayList<>(); |
-
Please register or login to post a comment