Skip to content

Commit 17015b9

Browse files
charlesknipebchew
andauthored
Skip throughput update on restore (#61)
* Skip throughput update on restore * Fix spacing issue * mend Co-authored-by: Benny Chew <[email protected]>
1 parent 512f6a4 commit 17015b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamodump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ def do_restore(dynamo, sleep_interval, source_table, destination_table, write_ca
689689

690690
# wait for table creation completion
691691
wait_for_active_table(dynamo, destination_table, "created")
692-
else:
692+
elif not args.skipThroughputUpdate:
693693
# update provisioned capacity
694694
if int(write_capacity) > original_write_capacity:
695695
update_provisioned_throughput(dynamo,

0 commit comments

Comments
 (0)