mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Fix nil ptr deference when listing client queues
Signed-off-by: Cecylia Bocovich <cohosh@torproject.org>
This commit is contained in:
parent
9b90b77d69
commit
b8df42a377
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ func (r *sqsHandler) cleanupClientQueues(ctx context.Context) {
|
|||
})
|
||||
if err != nil {
|
||||
log.Printf("SQSHandler: encountered error while retrieving client queues to clean up: %v\n", err)
|
||||
// client queues will be cleaned up the next time the cleanup operation is triggered automatically
|
||||
break
|
||||
}
|
||||
queueURLsList = append(queueURLsList, res.QueueUrls...)
|
||||
if res.NextToken == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue