Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unifying azure storage cli config across director and agent to prevent conflicts #2465

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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