File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 299299 schema (-> system ::ds/component-def :schema )]
300300 (if client
301301 instance
302- (do
303- (validate! signal schema template)
304- (loop [client (or (:client config)
305- (aws/client {:api :cloudformation :region region}))
306- [r updated?] (cou-stack! client signal (:json (template-data :template template :validate? false )))]
302+ (let [_ (validate! signal schema template)
303+ client (or (:client config)
304+ (aws/client {:api :cloudformation :region region}))]
305+ (loop [[r updated?] (cou-stack! client signal (:json (template-data :template template :validate? false )))]
307306 (cond
308307 (some-> r u/aws-error-message in-progress-error-message?)
309308 (do
310309 (wait-until-complete! name client)
311- (recur client (cou-stack! client signal (:json (template-data :template template :validate? false )))))
310+ (recur (cou-stack! client signal (:json (template-data :template template :validate? false )))))
312311
313312 (u/anomaly? r)
314313 (throw (response-error " Error creating stack" r))
You can’t perform that action at this time.
0 commit comments