Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)

## [0.1.83] - 2024-11-25
Upgrading the emr label to fix some vulnerabilities.
### Changed
-api/src/main/java/com/homeaway/datapullclient/config/DataPullRequestProcessor.java

## [0.1.82] - 2024-11-06
Upgrading the emr label to fix some vulnerabilities.
### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,16 @@ private void runDataPull(String json, boolean isStart, boolean validateJson) thr
log.debug("runDataPull <- return");
}

List<String> rotateSubnets(){

if(subnets.isEmpty()){
subnets= getSubnet();
}else{
List<String> subnetIds_shuffled = new ArrayList<>(subnets);
Collections.rotate(subnetIds_shuffled, 1);
subnets.clear();
subnets.addAll(subnetIds_shuffled);
List<String> rotateSubnets() {
if (subnets == null) {
synchronized (subnets) {
if (subnets.isEmpty()) {
subnets = getSubnet();
} else {
String first = subnets.remove(0);
subnets.add(first);
}
}
}
return subnets;
}
Expand Down