mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 15:13:56 -06:00
Fix vet issue
This commit is contained in:
parent
8230a5ded8
commit
64b5ff54eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user