Skip to content
This repository was archived by the owner on Nov 15, 2018. It is now read-only.

Commit 21c56d5

Browse files
author
Andy Goldstein
committed
Fixed camel case issue
1 parent 6b3d779 commit 21c56d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gear/distribute

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ end
2020

2121
checksum=ARGV.shift
2222

23-
sync_base_dir = Openshift::Deployment::ARTIFACTS_DIR
23+
sync_base_dir = OpenShift::Deployment::ARTIFACTS_DIR
2424

2525
raise "Release #{checksum} has not been prepared yet" unless File.exist?(File.join(sync_base_dir, checksum))
2626

2727

2828
puts "Validating artifact checksum on head gear"
29-
`#{Openshift::Deployment::SCRIPTS_DIR}/validate #{checksum}`
29+
`#{OpenShift::Deployment::SCRIPTS_DIR}/validate #{checksum}`
3030
raise "Checksum validation failed on head gear" unless $?.success?
3131

3232
successes = []
@@ -44,10 +44,10 @@ output = Parallel.map(gears, :in_threads => 5) do |uuid, host|
4444
#`ssh #{uuid}@#{host} mkdir -p app-root/runtime/artifacts/#{checksum}`
4545

4646
result << "Syncing artifact #{checksum}"
47-
result << `rsync -v --delete-after -az --rsh=ssh "#{sync_base_dir}/#{checksum}/" "#{uuid}@#{host}:#{Openshift::Deployment::ARTIFACTS_DIR_NAME}/#{checksum}/"`
47+
result << `rsync -v --delete-after -az --rsh=ssh "#{sync_base_dir}/#{checksum}/" "#{uuid}@#{host}:#{OpenShift::Deployment::ARTIFACTS_DIR_NAME}/#{checksum}/"`
4848

4949
result << "Validating checksum"
50-
`ssh #{uuid}@#{host} #{Openshift::Deployment::SCRIPTS_DIR_NAME}/validate #{checksum}`
50+
`ssh #{uuid}@#{host} #{OpenShift::Deployment::SCRIPTS_DIR_NAME}/validate #{checksum}`
5151

5252
if $?.success?
5353
result << "Checksum validated"

0 commit comments

Comments
 (0)