From 89c3f8b3c88b32b5b20bf110aaad0fa488f7268c Mon Sep 17 00:00:00 2001 From: jano3 <jano@bob.co.za> Date: Tue, 31 Oct 2023 11:59:25 +0200 Subject: [PATCH] Constants changes --- batch/batch.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/batch/batch.go b/batch/batch.go index 7900cfa..2cc29fc 100644 --- a/batch/batch.go +++ b/batch/batch.go @@ -15,12 +15,11 @@ import ( ) const ( - binaryPath = "/root/home/workers" // The worker binary path in the docker container + JobDefinition = "batch-job-definition" // The job definition name on aws + binaryPath = "/root/home/workers" // The worker binary path in the docker container + BatchJobMessageTypeS3 BatchJobMessageType = "s3" ) -type BatchJobQueue string -type BatchJobMessageType string - // Queue names are the same as the batch Job queue names in aws const ( BatchJobQueueLow BatchJobQueue = "batch-job-queue-low" @@ -28,9 +27,8 @@ const ( BatchJobQueueHigh BatchJobQueue = "batch-job-queue-high" ) -const ( - BatchJobMessageTypeS3 BatchJobMessageType = "s3" -) +type BatchJobQueue string +type BatchJobMessageType string type BatchJob struct { Name *string -- GitLab