Skip to content

Commit

Permalink
Remove the stream arn parameter when the next token is present
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu Zeng authored and zengyu714 committed Feb 17, 2023
1 parent d98ba6e commit 5f75c45
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aws/kinesis/core/shard_map.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ void ShardMap::list_shards(const Aws::String& next_token) {

if (!next_token.empty()) {
req.SetNextToken(next_token);
if (!stream_arn_.empty()) req.SetStreamARN(stream_arn_);
} else {
req.SetStreamName(stream_);
if (!stream_arn_.empty()) req.SetStreamARN(stream_arn_);
Expand Down

0 comments on commit 5f75c45

Please sign in to comment.