Skip to content

Commit

Permalink
[fix] tag_ebs typo on Name tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrozes committed Oct 29, 2024
1 parent b764fc3 commit 62dfd70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function tags_ebs_volumes () {
local NAME_VALUE="${CLUSTER_ID}-DCV-{{ context.get("/dcv/SessionOwner") }}-{{ context.get("/dcv/SessionName") }}"
local TAGS="Key=Name,Value=\"${NAME_VALUE}\" Key=soca:JobOwner,Value=\"{{ context.get("/dcv/SessionOwner") }}\" Key=soca:JobProject,Value=\"dcv\" Key=soca:ClusterId,Value=\"${CLUSTER_ID}\""
{% else %}
local NAME_VALUE="${CLUSTER_ID}-Job-{{ context.get("/job/JobId") }}\""
local NAME_VALUE="${CLUSTER_ID}-Job-{{ context.get("/job/JobId") }}"
local TAGS="Key=Name,Value=\"${NAME_VALUE}\" Key=soca:JobOwner,Value=\"{{ context.get("/job/JobOwner") }}\" Key=soca:JobProject,Value=\"${SOCA_JOB_PROJECT// /_}\" Key=soca:JobId,Value=\"{{ context.get("/job/JobId") }}\" Key=soca:JobQueue,Value=\"{{ context.get("/job/JobQueue") }}\" Key=soca:ClusterId,Value=\"${CLUSTER_ID}\""
{% endif %}

Expand All @@ -35,4 +35,4 @@ function tags_ebs_volumes () {
log_info "[COMPLETED] tags_ebs_volumes"
}
tags_ebs_volumes
# End - Tags EBS
# End - Tags EBS

0 comments on commit 62dfd70

Please sign in to comment.