Skip to content

Commit

Permalink
fix usage of service_name in codegen (#2720)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmklix committed Nov 14, 2023
1 parent 729d4bb commit a2e92c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/legacy/generate_sdks.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def generate_sdk(generator_path, sdk, output_dir, namespace, license_text, stand
with codecs.open(sdk['filePath'], 'rb', 'utf-8') as api_definition:
api_content = api_definition.read()
jar_path = join(generator_path, 'target/aws-client-generator-1.0-SNAPSHOT-jar-with-dependencies.jar')
process = Popen(['java', '-jar', jar_path, '--service', sdk['serviceName'], '--version', sdk['apiVersion'],
process = Popen(['java', '-jar', jar_path, '--service', sdk['service_name'], '--version', sdk['apiVersion'],
'--namespace', namespace, '--license-text', license_text, '--language-binding', 'cpp',
'--arbitrary', '--standalone' if standalone else '',
'--enable-virtual-operations' if enable_virtual_operations else ''],
Expand Down

0 comments on commit a2e92c6

Please sign in to comment.