Skip to content

Commit eef5ade

Browse files
authored
Merge pull request #1952 from afumagalli98/update-aws-address
Updated aws address job
2 parents 32c0325 + a7c88b3 commit eef5ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thunder-service/job/aws_addresses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (job *AwsDataRetrieveJob) FetchAwsUnusedIPAddresses(profile model.AwsProfil
4848
}
4949

5050
for _, w := range resultec2Svc.Addresses {
51-
if *w.AssociationId == "" {
51+
if w.AssociationId == nil || *w.AssociationId == "" {
5252
var objectName string
5353

5454
for _, name := range w.Tags {

0 commit comments

Comments
 (0)