Skip to content

Commit

Permalink
🐛 fix aws.eks.clusters { * } panic (#4787)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeffrey authored Oct 29, 2024
1 parent cc0224e commit e0c5f88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions providers/aws/resources/aws_eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ func (a *mqlAwsEksNodegroup) diskSize() (int64, error) {
if err != nil {
return 0, err
}
if ng.DiskSize == nil {
a.DiskSize.State = plugin.StateIsNull | plugin.StateIsSet
return 0, nil
}
return int64(*ng.DiskSize), nil
}

Expand Down

0 comments on commit e0c5f88

Please sign in to comment.