Skip to content

Commit 5f75c45

Browse files
Yu Zengzengyu714
Yu Zeng
authored andcommitted
Remove the stream arn parameter when the next token is present
1 parent d98ba6e commit 5f75c45

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aws/kinesis/core/shard_map.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ void ShardMap::list_shards(const Aws::String& next_token) {
103103

104104
if (!next_token.empty()) {
105105
req.SetNextToken(next_token);
106-
if (!stream_arn_.empty()) req.SetStreamARN(stream_arn_);
107106
} else {
108107
req.SetStreamName(stream_);
109108
if (!stream_arn_.empty()) req.SetStreamARN(stream_arn_);

0 commit comments

Comments
 (0)