Skip to content

Commit

Permalink
Merged in dev/gideon/remove_duplicate_code_in_vod_lambda_2022.02.18 (…
Browse files Browse the repository at this point in the history
…pull request elastic#473)

Removed duplicate code from VOD lambda

Looks like a copy/pasty error.


Approved-by: Can Yildiz
  • Loading branch information
Gideon Avida committed Feb 21, 2022
1 parent 6851be0 commit e071d39
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions aws/vod-lambda-source-code/convert.py
Expand Up @@ -121,12 +121,6 @@ def handler(event, context):
logger.info("templateDestinationKey == %s", templateDestinationKey)
outputGroup['OutputGroupSettings']['DashIsoGroupSettings']['Destination'] = destinationS3+templateDestinationKey

elif outputGroup['OutputGroupSettings']['Type'] == 'DASH_ISO_GROUP_SETTINGS':
templateDestination = outputGroup['OutputGroupSettings']['DashIsoGroupSettings']['Destination']
templateDestinationKey = urlparse(templateDestination).path
logger.info("templateDestinationKey == %s", templateDestinationKey)
outputGroup['OutputGroupSettings']['DashIsoGroupSettings']['Destination'] = destinationS3+templateDestinationKey

elif outputGroup['OutputGroupSettings']['Type'] == 'MS_SMOOTH_GROUP_SETTINGS':
templateDestination = outputGroup['OutputGroupSettings']['MsSmoothGroupSettings']['Destination']
templateDestinationKey = urlparse(templateDestination).path
Expand Down

0 comments on commit e071d39

Please sign in to comment.