From 64b5ff54ebf867d79f12ae78c3d515d5ef6d6943 Mon Sep 17 00:00:00 2001 From: Rhys Laval Date: Mon, 1 May 2017 19:56:21 +0100 Subject: [PATCH] Fix vet issue --- builtin/providers/aws/resource_aws_dynamodb_table_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/resource_aws_dynamodb_table_test.go b/builtin/providers/aws/resource_aws_dynamodb_table_test.go index 33e5d7410..59cebc4a1 100644 --- a/builtin/providers/aws/resource_aws_dynamodb_table_test.go +++ b/builtin/providers/aws/resource_aws_dynamodb_table_test.go @@ -164,11 +164,11 @@ func testAccCheckDynamoDbTableTimeToLiveWasUpdated(n string) resource.TestCheckF log.Printf("[DEBUG] Checking on table %s", rs.Primary.ID) if *ttlDescription.TimeToLiveStatus != dynamodb.TimeToLiveStatusEnabled { - return fmt.Errorf("TimeToLiveStatus %s, not ENABLED!", ttlDescription.TimeToLiveStatus) + return fmt.Errorf("TimeToLiveStatus %s, not ENABLED!", *ttlDescription.TimeToLiveStatus) } if *ttlDescription.AttributeName != "TestTTL" { - return fmt.Errorf("AttributeName was %s, not TestTTL!", ttlDescription.AttributeName) + return fmt.Errorf("AttributeName was %s, not TestTTL!", *ttlDescription.AttributeName) } return nil