Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sort AMIs in the opposite order to correctly choose one
Previously, we iterated through the list of possible AMIs and kept track of the oldest non-fork AMI to use for provisioning. Instead, we should have been finding the newest non-fork AMI. By iterating in the other direction, we can achieve that. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
- Loading branch information