Skip to content
This repository was archived by the owner on Nov 7, 2019. It is now read-only.

Commit 223ab92

Browse files
Adding Generated Code for Dynamo Data Variable
**Why:** * Copy and pasted code and using the wrong name in my model file Signed-off-by: Christopher Hein <[email protected]>
1 parent 1d1d06a commit 223ab92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/operator/dynamodb/controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,13 @@ func syncAdditionalResources(config *config.Config, s *awsV1alpha1.DynamoDB) (er
263263
resource = resource.DeepCopy()
264264

265265
configmaps := []string{}
266-
s3BucketCMData := map[string]string{
266+
dynamoCMData := map[string]string{
267267
"tableName": "{{.Obj.Output.TableName}}",
268268
"tableARN": "{{.Obj.Output.TableARN}}",
269269
"region": "{{.Config.Region}}",
270270
}
271-
s3BucketCM := helpers.CreateConfigMap(config, s, s.Name, s.Namespace, s3BucketCMData)
272-
configmaps = append(configmaps, s3BucketCM)
271+
dynamoCM := helpers.CreateConfigMap(config, s, s.Name, s.Namespace, dynamoCMData)
272+
configmaps = append(configmaps, dynamoCM)
273273
resource.AdditionalResources.ConfigMaps = configmaps
274274

275275
_, err = clientSet.DynamoDBs(s.Namespace).Update(resource)

0 commit comments

Comments
 (0)