Skip to content

Commit

Permalink
Update aws/ecs_cluster_test.go
Browse files Browse the repository at this point in the history
Handling errors explictly

Co-authored-by: Yevgeniy Brikman <[email protected]>
  • Loading branch information
ina-stoyanova and brikis98 authored Oct 8, 2020
1 parent d7a8c2b commit 1cb6c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/ecs_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ func TestCanTagEcsClusters(t *testing.T) {

tagValue := time.Now().UTC().Format(time.RFC3339)

tagEcsCluster(awsSession, cluster.ClusterArn, firstSeenTagKey, tagValue)
require.NoError(t, err)
tagErr := tagEcsCluster(awsSession, cluster.ClusterArn, firstSeenTagKey, tagValue)
require.NoError(t, tagErr)

returnedTag, err := getClusterTag(awsSession, cluster.ClusterArn, firstSeenTagKey)
require.NoError(t, err)
Expand Down

0 comments on commit 1cb6c7a

Please sign in to comment.