Skip to content

Commit

Permalink
PMM-5086-12634 Fix RDS nil handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Dec 3, 2024
1 parent b5933ae commit 6c43329
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions managed/services/agents/rds.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ func rdsExporterConfig(pairs map[*models.Node]*models.Agent, redactMode redactMo
return nil, err
}

if exporter.AWSOptions == nil {
exporter.AWSOptions = &models.AWSOptions{}
}

config.Instances = append(config.Instances, rdsInstance{
Region: pointer.GetString(node.Region),
Instance: node.Address,
Expand Down

0 comments on commit 6c43329

Please sign in to comment.