Skip to content

Commit 33c6613

Browse files
committed
Non-idempotent operations should only be performed once
1 parent c530401 commit 33c6613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooling/docs-assembler/Deploying/AwsCloudFrontKeyValueStoreProxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private string ProcessBatchUpdates(
108108
AwsCloudFrontKeyValueStoreJsonContext.Default.ListDeleteKeyRequestListItem),
109109
_ => string.Empty
110110
};
111-
var responseJson = Capture("aws", "cloudfront-key-value-store", "update-keys", "--kvs-arn", kvsArn, "--if-match", eTag,
111+
var responseJson = Capture(false, 1, "aws", "cloudfront-key-value-store", "update-keys", "--kvs-arn", kvsArn, "--if-match", eTag,
112112
$"--{operation.ToString().ToLowerInvariant()}", "--payload", payload);
113113
var updateResponse = JsonSerializer.Deserialize<UpdateKeysResponse>(responseJson, AwsCloudFrontKeyValueStoreJsonContext.Default.UpdateKeysResponse);
114114

0 commit comments

Comments
 (0)