Showing
1 changed file
with
0 additions
and
11 deletions
@@ -133,17 +133,6 @@ public class NodeBuildCtrl { | @@ -133,17 +133,6 @@ public class NodeBuildCtrl { | ||
133 | rtnResponse.setMessage("az1区域只能发布master分支"); | 133 | rtnResponse.setMessage("az1区域只能发布master分支"); |
134 | return rtnResponse; | 134 | return rtnResponse; |
135 | } | 135 | } |
136 | - | ||
137 | - //az1-az2 | ||
138 | - if(environment.contains("az2")){ | ||
139 | - if(az2InGray){ | ||
140 | - if(checkGrayResponse.getData()){ | ||
141 | - rtnResponse.setCode(201); | ||
142 | - rtnResponse.setMessage("az2灰度已经启用了, 不允许发布 az1+az2"); | ||
143 | - return rtnResponse; | ||
144 | - } | ||
145 | - } | ||
146 | - } | ||
147 | }else{ | 136 | }else{ |
148 | //单独发布az2,环境可能还有aws等(其它不需要校验的项目) | 137 | //单独发布az2,环境可能还有aws等(其它不需要校验的项目) |
149 | if(environment.contains("az2")){ | 138 | if(environment.contains("az2")){ |
-
Please register or login to post a comment