Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
josecorella committed Feb 3, 2025
1 parent 3fee80e commit 756ce36
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -568,13 +568,7 @@ public static Boolean isDependantModuleType(
final String namespace
) {
final String shapeNamespace = shape.getId().getNamespace();
final Map<String, String> serviceToShapeNameSpace = new HashMap<>();
serviceToShapeNameSpace.put(namespace, "com.amazonaws.dynamodb");
System.out.println("Shape namespace: " + shapeNamespace);
System.out.println("Service namespace: " + namespace);
// This *should* work; however, in the case of the DynamoDB and KMS Modules
// the shapeNamespace and the namespace are different, when really they are the same.
if (!shapeNamespace.toLowerCase().startsWith("smithy.api") ) {
if (!shapeNamespace.toLowerCase().startsWith("smithy.api") && !namespace.equalsIgnoreCase(shapeNamespace)) {
return true;
} else {
return false;
Expand Down

0 comments on commit 756ce36

Please sign in to comment.