Skip to content

Commit

Permalink
fixing error message to be relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
ina-stoyanova committed Oct 8, 2020
1 parent 71c3993 commit 2616fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/ecs_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func getClusterTag(awsSession *session.Session, clusterArn *string, tagKey strin

firstSeenTime, err := time.Parse(time.RFC3339, aws.StringValue(tag.Value))
if err != nil {
logging.Logger.Errorf("Error tagging the ECS cluster with ARN %s", aws.StringValue(clusterArn))
logging.Logger.Errorf("Error parsing the `cloud-nuke-first-seen` tag into a `RFC3339` Time format for ECS cluster with ARN %s", aws.StringValue(clusterArn))
return firstSeenTime, errors.WithStackTrace(err)
}

Expand Down

0 comments on commit 2616fe8

Please sign in to comment.