mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
fix(rds): reject malformed cluster snapshot copy flags (#5472)
This commit is contained in:
1 parent
1a0afce7ec
commit
1e92b7e17b
3 files changed
+47
-1
No files matched your search
@@ -2300,7 +2300,7 @@ public class RdsQueryHandler {
|
||||
if (missing != null) {
|
||||
return missing;
|
||||
}
|
||||
boolean copyTags = "true".equalsIgnoreCase(params.getFirst("CopyTags"));
|
||||
boolean copyTags = Boolean.TRUE.equals(parseOptionalBoolean(params, "CopyTags"));
|
||||
DbClusterSnapshot copy = service.copyDbClusterSnapshot(sourceId, targetId, copyTags, parseTags(params), region);
|
||||
return Response.ok(AwsQueryResponse.envelope("CopyDBClusterSnapshot", AwsNamespaces.RDS,
|
||||
dbClusterSnapshotXml(copy))).build();
|
||||
|
||||
Reference in new issue
Block a user