Skip to content

Commit

Permalink
[atlas_plugin]unittag和srcunittag一样时,打印 可能的原因 和 排查文档的链接
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongcang committed Nov 28, 2017
1 parent 56df435 commit 69fc9d3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ private PatchInfo processBundlePatch(PatchInfo hisPatchInfo, List<BundlePatch> b

if (addToPatch&&patchBundleInfo.getUnitTag().equals(patchBundleInfo.getSrcUnitTag())){

throw new PatchException(patchName+"patch中:"+patchBundleInfo.getPkgName()+"的srcunittag和unittag一致,"+patchBundleInfo.getUnitTag()+",无法动态部署,请重新集成!");
throw new PatchException(patchName+"patch中:"+patchBundleInfo.getPkgName()+"的srcunittag和unittag一致,"+patchBundleInfo.getUnitTag()+",无法动态部署,请重新集成!"
+"\n检查是否修改了bundle的版本号,参见排查文档:https://alibaba.github.io/atlas/faq/dynamic_failed_help.html");

}else if (addToPatch) {
patchInfo.getBundles().add(patchBundleInfo);
Expand Down

0 comments on commit 69fc9d3

Please sign in to comment.