Skip to content

Commit

Permalink
Fix 'MalformedXML: The XML you provided was not well-formed or did no…
Browse files Browse the repository at this point in the history
…t validate against our published schema'.
  • Loading branch information
ewbankkit committed Oct 14, 2024
1 parent 69d0934 commit 0138279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/s3/bucket_replication_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ func expandSSEKMSEncryptedObjects(tfList []interface{}) *types.SseKmsEncryptedOb

func expandReplicationRuleFilter(ctx context.Context, tfList []interface{}) *types.ReplicationRuleFilter {
if len(tfList) == 0 || tfList[0] == nil {
return nil
return &types.ReplicationRuleFilter{}
}

tfMap := tfList[0].(map[string]interface{})
Expand Down

0 comments on commit 0138279

Please sign in to comment.