From ddb5a8a310770223e22b423a435ad9c6d12f1dc8 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Thu, 22 Aug 2024 18:38:02 -0700 Subject: [PATCH] Clean up. --- sources/dynamodb/snapshot/export.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/dynamodb/snapshot/export.go b/sources/dynamodb/snapshot/export.go index 55fb3d8a..7435d424 100644 --- a/sources/dynamodb/snapshot/export.go +++ b/sources/dynamodb/snapshot/export.go @@ -11,6 +11,8 @@ import ( "time" ) +// findRecentExport - This will check against the DynamoDB table to see if there is a recent export for the given S3 file path. +// It will then return the exportARN, manifestFilePath and error if any. func (s *Store) findRecentExport(ctx context.Context, s3FilePath string) (*string, *string, error) { tableARN, err := dynamo.GetTableArnFromStreamArn(s.streamArn) if err != nil {