-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aut-13906 AUT-13945 roll deallocation #43
Conversation
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class StatefulInstance { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/main/java/hudson/plugins/spotinst/cloud/BaseSpotinstCloud.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/spotinst/cloud/BaseSpotinstCloud.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/spotinst/cloud/BaseSpotinstCloud.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/spotinst/cloud/BaseSpotinstCloud.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/spotinst/cloud/BaseSpotinstCloud.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/spotinst/cloud/AwsSpotinstCloud.java
Outdated
Show resolved
Hide resolved
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class StatefulInstance { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
if (statefulInstancesResponse.isRequestSucceed()) { | ||
List<AwsStatefulInstance> statefulInstances = statefulInstancesResponse.getValue(); | ||
Map<String, AwsStatefulInstance> ssiByInstanceId = new HashMap<>(); | ||
statefulInstances.forEach(ssi -> ssiByInstanceId.put(ssi.getInstanceId(), ssi)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use toMap just run and test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.