mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
fix(test): pass the managed prefix list store in Ec2PublicIpOnLaunchTest (#2288)
The test calls the package-private Ec2Service constructor with the parameter list it had before #2105 added the managed prefix list store, so main does not compile. #2023 was written before that landed and merged after it. Closes #2287 Co-authored-by: Michal Schreiber <michal.schreiber@benefitsystems.pl>
This commit is contained in:
1 parent
5657e35007
commit
62ff490619
1 file changed
+2
@@ -10,6 +10,7 @@ import io.github.hectorvent.floci.services.ec2.model.InternetGateway;
|
||||
import io.github.hectorvent.floci.services.ec2.model.KeyPair;
|
||||
import io.github.hectorvent.floci.services.ec2.model.LaunchTemplate;
|
||||
import io.github.hectorvent.floci.services.ec2.model.NatGateway;
|
||||
import io.github.hectorvent.floci.services.ec2.model.ManagedPrefixList;
|
||||
import io.github.hectorvent.floci.services.ec2.model.NetworkAcl;
|
||||
import io.github.hectorvent.floci.services.ec2.model.Instance;
|
||||
import io.github.hectorvent.floci.services.ec2.model.Reservation;
|
||||
@@ -159,6 +160,7 @@ class Ec2PublicIpOnLaunchTest {
|
||||
load(dir, "ec2-nat-gateways.json", new TypeReference<Map<String, NatGateway>>() {}),
|
||||
load(dir, "ec2-spot-instance-requests.json", new TypeReference<Map<String, SpotInstanceRequest>>() {}),
|
||||
load(dir, "ec2-network-acls.json", new TypeReference<Map<String, NetworkAcl>>() {}),
|
||||
load(dir, "ec2-managed-prefix-lists.json", new TypeReference<Map<String, ManagedPrefixList>>() {}),
|
||||
load(dir, "ec2-tags.json", new TypeReference<Map<String, List<Tag>>>() {}));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user