lib/pfab/templates/job.rb in pfab-0.25.0 vs lib/pfab/templates/job.rb in pfab-0.26.0
- old
+ new
@@ -21,11 +21,11 @@
"deployed-name" => @data['deployed_name'],
"application-type" => application_type,
"deploy-id" => deploy_id,
"tags.datadoghq.com/env": @data['env'],
"tags.datadoghq.com/service": @data['deployed_name'],
- "tags.datadoghq.com/version": @data['sha']
+ "tags.datadoghq.com/version":"#{@data['sha']}"
}
},
spec: {
template: {
metadata: {
@@ -35,10 +35,10 @@
application: @data['application'],
"deployed-name" => @data['deployed_name'],
"application-type" => "job",
"tags.datadoghq.com/env": @data['env'],
"tags.datadoghq.com/service": @data['deployed_name'],
- "tags.datadoghq.com/version": @data['sha']
+ "tags.datadoghq.com/version": "#{@data['sha']}"
},
},
spec: {
containers: [
{