mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 17:11:30 +00:00
fix: skip parameter groups deleted mid-describe
This commit is contained in:
@@ -118,7 +118,7 @@ func (s *Service) DescribeDBParameterGroups(ctx context.Context, input *rds.Desc
|
||||
if err != nil {
|
||||
// Deleted between the listing and this read; the same answer a describe
|
||||
// one tick later would give.
|
||||
if strings.HasPrefix(err.Error(), awserrors.ErrorDBParameterGroupNotFound) {
|
||||
if awserrors.IsErrorCode(err, awserrors.ErrorDBParameterGroupNotFound) {
|
||||
continue
|
||||
}
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user