Skip to content

Commit

Permalink
Remove spurious warning with --create-log-groups; fixes #925
Browse files Browse the repository at this point in the history
  • Loading branch information
PettitWesley authored and SoManyHs committed Sep 19, 2019
1 parent eff5acb commit 76b92c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecs-cli/modules/cli/logs/logs_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ func CreateLogGroups(taskDef *ecs.TaskDefinition, logClientFactory cwlogsclient.
if aerr.Code() == cloudwatchlogs.ErrCodeResourceAlreadyExistsException {
// If the log group already exists warn the user but don't fail the command
logrus.Warnf("Failed to create log group %s in %s: %s", aws.StringValue(logConfig.logGroup), region, aerr.Message())
logGroupsCreated = true
continue
}
}
Expand Down

0 comments on commit 76b92c7

Please sign in to comment.