fix merge conflict
This commit is contained in:
parent
4bc414e216
commit
27f13ed3fc
1 changed files with 2 additions and 2 deletions
|
|
@ -225,9 +225,9 @@ func (c *Consumer) getShardIterator(streamName, shardID, seqNum string) (*string
|
||||||
StreamName: aws.String(streamName),
|
StreamName: aws.String(streamName),
|
||||||
}
|
}
|
||||||
|
|
||||||
if lastSeqNum != "" {
|
if seqNum != "" {
|
||||||
params.ShardIteratorType = aws.String(kinesis.ShardIteratorTypeAfterSequenceNumber)
|
params.ShardIteratorType = aws.String(kinesis.ShardIteratorTypeAfterSequenceNumber)
|
||||||
params.StartingSequenceNumber = aws.String(lastSeqNum)
|
params.StartingSequenceNumber = aws.String(seqNum)
|
||||||
} else {
|
} else {
|
||||||
params.ShardIteratorType = aws.String(c.initialShardIteratorType)
|
params.ShardIteratorType = aws.String(c.initialShardIteratorType)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue