File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- package aws
2-
31/*
42Copyright 2025 The Dapr Authors
53Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,6 +13,8 @@ See the License for the specific language governing permissions and
1513limitations under the License.
1614*/
1715
16+ package aws
17+
1818import (
1919 "context"
2020
Original file line number Diff line number Diff line change 1- package awsmock
2-
31/*
42Copyright 2025 The Dapr Authors
53Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,6 +13,8 @@ See the License for the specific language governing permissions and
1513limitations under the License.
1614*/
1715
16+ package awsmock
17+
1818import (
1919 "context"
2020
Original file line number Diff line number Diff 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
9192func (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
9697func (d * StateStore ) InitWithOptions (ctx context.Context , metadata state.Metadata , opts ... awsCommon.ConfigOption ) error {
9798 meta , err := d .getDynamoDBMetadata (metadata )
9899 if err != nil {
You can’t perform that action at this time.
0 commit comments