Skip to content

Commit

Permalink
Update submit_to_sds to utilize new auto version selection
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgarde committed Jun 5, 2024
1 parent 110c0f9 commit 591916a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions podaac/swodlr_ingest_to_sds/submit_to_sds.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
ACCEPTED_EXTS = ['nc']
INGEST_QUEUE_URL = utils.get_param('ingest_queue_url')
INGEST_TABLE_NAME = utils.get_param('ingest_table_name')
PCM_RELEASE_TAG = utils.get_param('sds_pcm_release_tag')

dynamodb = boto3.client('dynamodb')
sqs = boto3.client('sqs')

logger = utils.get_logger(__name__)
ingest_job_type = utils.mozart_client.get_job_type(
f'job-INGEST_STAGED:{PCM_RELEASE_TAG}'
utils.get_latest_job_version('job-INGEST_STAGED')
)
ingest_job_type.initialize()

Expand Down

0 comments on commit 591916a

Please sign in to comment.