mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
fix: wrap ELBv2 void query responses in their Result envelope (#1189)
Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
This commit is contained in:
1 parent
f558472a4d
commit
189d893803
2 files changed
+62
-2
No files matched your search
@@ -1233,8 +1233,12 @@ public class ElbV2QueryHandler {
|
||||
// ── Misc helpers ─────────────────────────────────────────────────────────
|
||||
|
||||
private Response voidResponse(String responseName) {
|
||||
String actionName = responseName.substring(0, responseName.length() - "Response".length());
|
||||
String resultName = actionName + "Result";
|
||||
String xml = new XmlBuilder()
|
||||
.start(responseName, AwsNamespaces.ELB_V2)
|
||||
.start(resultName)
|
||||
.end(resultName)
|
||||
.raw(AwsQueryResponse.responseMetadata())
|
||||
.end(responseName)
|
||||
.build();
|
||||
|
||||
Reference in new issue
Block a user