Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: endless deployment #39

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Fix: endless deployment #39

merged 1 commit into from
Jul 31, 2024

Conversation

yyoda
Copy link
Contributor

@yyoda yyoda commented Jul 30, 2024

@yyoda yyoda self-assigned this Jul 30, 2024
@yyoda yyoda requested a review from shunjikonishi July 30, 2024 14:03
@yyoda yyoda changed the title [WIP] Fix: endless deployment Fix: endless deployment Jul 30, 2024
@yyoda yyoda marked this pull request as ready for review July 30, 2024 14:03
@@ -295,7 +295,7 @@ func (d *Deployer) Deploy(
d.logger.Info(fmt.Sprintf("Start '%s' health check.", info.IdlingTarget.Type))
err = d.HealthCheck(ctx,
*info.IdlingTarget.TargetGroup.TargetGroupArn,
int(*info.RunningTarget.AutoScalingGroup.DesiredCapacity))
*info.IdlingTarget.AutoScalingGroup.AutoScalingGroupName)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, the target's DesiredCount updates has already been updated.

Copy link

@shunjikonishi shunjikonishi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yyoda yyoda merged commit a8f1795 into main Jul 31, 2024
1 check passed
@yyoda yyoda deleted the fix/endless-deployment branch July 31, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants