Authored by qinchao

dock发布功能

... ... @@ -70,13 +70,14 @@ public class DockerServerDeployCtrl {
return rtn;
}
}else{
//更改路径,更改之后自动重新部署
currentImageLatestFlag=dockerServerDeployService.checkImageLatestWithModifyFlag(clusterId, namespace, serviceName, containerJa,true);
if(!currentImageLatestFlag){
rtn.setCode(201);
rtn.setMessage("Docker服务修改镜像服务发生异常");
return rtn;
}
//重新部署
}
return rtn;
... ...
... ... @@ -47,7 +47,6 @@ public class CcsApiQcloud {
}
String url = "GETccs.api.qcloud.com/v2/index.php?" + buffer.toString();
String signature = getSignature(url);
System.out.println("https://ccs.api.qcloud.com/v2/index.php?" + buffer.toString() + "&Signature=" + signature);
return buffer.toString() + "&Signature=" + signature;
}
... ...