Files
floci/src/test/java
David fc74987bd3 fix(ec2): delete key pairs by name through the storage backend (#2187)
DeleteKeyPair with KeyName mutated the detached list returned by
StorageBackend.scan, which is documented not to affect the store — so the
call reported success while leaving the key pair in place. Resolve matching
key pairs to their store key and delete through the backend instead.

The only existing DeleteKeyPair test passed KeyPairId, the branch that
already worked, and asserted just a 200; DeleteKeyPair always returns true,
so the no-op was invisible. Cover the by-name path and assert removal rather
than status.

Closes #2185
2026-08-12 22:50:17 -04:00
..