Skip to content

Commit

Permalink
fix log output
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed May 12, 2023
1 parent 49d7184 commit 50740bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deregister.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (d *App) deregisterKeeps(ctx context.Context, opt DeregisterOption, inUse m
d.Log("%d task definitions were deregistered", deregistered)
if aws.ToBool(opt.Delete) {
for _, names := range lo.Chunk(deregs, 10) { // 10 is max batch size
d.Log("Deleting task definitions %v", names)
d.Log("Deleting task definitions %s", strings.Join(names, ","))
if _, err := d.ecs.DeleteTaskDefinitions(ctx, &ecs.DeleteTaskDefinitionsInput{
TaskDefinitions: names,
}); err != nil {
Expand Down

0 comments on commit 50740bf

Please sign in to comment.