From d431eeeb93c8588ec7bf2545be5eaba27d5a7dd6 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Wed, 15 May 2019 14:02:40 +0200 Subject: [PATCH] carrierwave: fix typo Turns out the `openstack_identity_api_version` has not actually been filled out for a while, because of a typo. --- config/initializers/carrierwave.rb | 2 +- lib/tasks/2018_12_03_finish_piece_jointe_transfer.rake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb index 73298442a..2635e8012 100644 --- a/config/initializers/carrierwave.rb +++ b/config/initializers/carrierwave.rb @@ -31,7 +31,7 @@ CarrierWave.configure do |config| openstack_username: Rails.application.secrets.fog[:openstack_username], openstack_auth_url: Rails.application.secrets.fog[:openstack_auth_url], openstack_region: Rails.application.secrets.fog[:openstack_region], - openstack_identity_api_version: Rails.application.secrets.fog[:oopenstack_identity_api_version] + openstack_identity_api_version: Rails.application.secrets.fog[:openstack_identity_api_version] } end diff --git a/lib/tasks/2018_12_03_finish_piece_jointe_transfer.rake b/lib/tasks/2018_12_03_finish_piece_jointe_transfer.rake index ab1790b36..4977ea7d5 100644 --- a/lib/tasks/2018_12_03_finish_piece_jointe_transfer.rake +++ b/lib/tasks/2018_12_03_finish_piece_jointe_transfer.rake @@ -44,7 +44,7 @@ namespace :'2018_12_03_finish_piece_jointe_transfer' do openstack_username: Rails.application.secrets.fog[:openstack_username], openstack_auth_url: Rails.application.secrets.fog[:openstack_auth_url], openstack_region: Rails.application.secrets.fog[:openstack_region], - openstack_identity_api_version: Rails.application.secrets.fog[:oopenstack_identity_api_version] + openstack_identity_api_version: Rails.application.secrets.fog[:openstack_identity_api_version] } new_pj_storage = Fog::Storage.new(fog_credentials) @new_pjs = new_pj_storage.directories.get(ENV['FOG_ACTIVESTORAGE_DIRECTORY'])