Skip to content

Commit b7c0205

Browse files
committed
chore: Fix review comments
Signed-off-by: Javier Aliaga <[email protected]>
1 parent c498d10 commit b7c0205

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

common/aws/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
package aws
2-
31
/*
42
Copyright 2025 The Dapr Authors
53
Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,6 +13,8 @@ See the License for the specific language governing permissions and
1513
limitations under the License.
1614
*/
1715

16+
package aws
17+
1818
import (
1919
"context"
2020

common/aws/mock/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
package awsmock
2-
31
/*
42
Copyright 2025 The Dapr Authors
53
Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,6 +13,8 @@ See the License for the specific language governing permissions and
1513
limitations under the License.
1614
*/
1715

16+
package awsmock
17+
1818
import (
1919
"context"
2020

state/aws/dynamodb/dynamodb.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@ func NewDynamoDBStateStore(logger logger.Logger) state.Store {
8888
return s
8989
}
9090

91+
// Init does metadata and connection parsing
9192
func (d *StateStore) Init(ctx context.Context, metadata state.Metadata) error {
9293
return d.InitWithOptions(ctx, metadata)
9394
}
9495

95-
// Init does metadata and connection parsing.
96+
// InitWithOptions does metadata and connection parsing and extra aws options
9697
func (d *StateStore) InitWithOptions(ctx context.Context, metadata state.Metadata, opts ...awsCommon.ConfigOption) error {
9798
meta, err := d.getDynamoDBMetadata(metadata)
9899
if err != nil {

0 commit comments

Comments
 (0)