Skip to content

Commit 9477092

Browse files
committed
Update dist file
1 parent 901e999 commit 9477092

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

dist/index.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -233998,7 +233998,7 @@ function setDescribeEventsInterval(environmentId, startTime = new Date()) {
233998233998
if (Events.length > 0) {
233999233999
startTime = Events[0].EventDate;
234000234000
for (const e of Events.reverse()) {
234001-
console.log(`${printUTCTime(e.EventDate)} ${e.Severity} ${e.EnvironmentName}: ${e.Message}`);
234001+
console.log(`[${e.EnvironmentName}]: ${printUTCTime(e.EventDate)} ${e.Severity} ${e.Message}`);
234002234002
if (e.Severity === "ERROR") {
234003234003
throw new Error(e.Message);
234004234004
}
@@ -234090,11 +234090,11 @@ function removeTargetGroups(inputs) {
234090234090
for (const { Key, Value } of Tags) {
234091234091
if (Key === "bluegreenbeanstalk:target_cname" &&
234092234092
Value === inputs.stagingCNAME) {
234093-
const { Rules } = yield elbv2Client.send(new client_elastic_load_balancing_v2_dist_cjs.ModifyRuleCommand({
234093+
yield elbv2Client.send(new client_elastic_load_balancing_v2_dist_cjs.ModifyRuleCommand({
234094234094
RuleArn: ResourceArn,
234095234095
Actions: handleActions(rule.Actions),
234096234096
}));
234097-
console.log(`Set rule:`, Rules[0]);
234097+
console.log(`Updated rule:`, rule.RuleArn);
234098234098
}
234099234099
}
234100234100
}
@@ -234148,13 +234148,11 @@ function updateTargetGroups(inputs) {
234148234148
yield elbv2Client.send(new client_elastic_load_balancing_v2_dist_cjs.ModifyRuleCommand({
234149234149
RuleArn: ResourceArn,
234150234150
Actions: handleActions(rule.Actions, targetGroupArn),
234151-
}))
234152-
.then(({ Rules }) => {
234153-
console.log(`Updated rule:`, Rules[0]);
234154-
});
234151+
}));
234152+
console.log(`Updated rule:`, rule.RuleArn);
234155234153
}
234156234154
else {
234157-
console.warn(`No target group available for ${cname} on rule:`, rule);
234155+
console.warn(`No target group available for ${cname} on rule:`, rule.RuleArn);
234158234156
}
234159234157
}
234160234158
});

0 commit comments

Comments
 (0)