Skip to content

Commit

Permalink
Unifying azure storage cli config across director and agent to preven…
Browse files Browse the repository at this point in the history
…t conflicts
  • Loading branch information
anshrupani authored and jpalermo committed Aug 20, 2023
1 parent 45a062f commit d5cc637
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def initialize(options)
end

@azure_storage_cli_options = {
"account-name": @options[:account_name],
"container-name": @options[:container_name],
"account-key": @options[:account_key]
"account_name": @options[:account_name],
"container_name": @options[:container_name],
"account_key": @options[:account_key]
}

@azure_storage_cli_options.reject! { |_k, v| v.nil? }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ module Bosh::Blobstore
describe 'options' do
let(:expected_options) do
{
'container-name' => 'test',
'account-name' => 'NAME',
'account-key' => 'SECRET'
'container_name' => 'test',
'account_name' => 'NAME',
'account_key' => 'SECRET'
}
end
let(:stored_config_file) { File.new(expected_config_file).readlines }
Expand Down

0 comments on commit d5cc637

Please sign in to comment.