Don't send StreamName when calling ListShards with NextToken. (#110)
Co-authored-by: Jason Pepper <jason.pepper@crypsisgroup.com>
This commit is contained in:
parent
bc5c012fd3
commit
dcd9d048fb
1 changed files with 1 additions and 2 deletions
|
|
@ -27,8 +27,7 @@ func listShards(ksis kinesisiface.KinesisAPI, streamName string) ([]*kinesis.Sha
|
||||||
}
|
}
|
||||||
|
|
||||||
listShardsInput = &kinesis.ListShardsInput{
|
listShardsInput = &kinesis.ListShardsInput{
|
||||||
NextToken: resp.NextToken,
|
NextToken: resp.NextToken,
|
||||||
StreamName: aws.String(streamName),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue