Skip to content

Commit 988a514

Browse files
committed
Move the container config to ENV
1 parent a819e33 commit 988a514

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/rails/service/configurations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ DEFAULT: &default
66
azure:
77
<<: *default
88
service: AzureBlob
9-
container: "dev"
9+
container: <%= ENV["AZURE_PRIVATE_CONTAINER"] %>
1010

1111
azure_public:
1212
<<: *default
1313
public: true
14-
container: "dev-public"
14+
container: <%= ENV["AZURE_PUBLIC_CONTAINER"] %>

test/test_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TestClient < TestCase
1111
def setup
1212
@account_name = ENV["AZURE_ACCOUNT_NAME"]
1313
@access_key = ENV["AZURE_ACCESS_KEY"]
14-
@container = ENV["AZURE_CONTAINER"]
14+
@container = ENV["AZURE_PRIVATE_CONTAINER"]
1515
@client = AzureBlob::Client.new(
1616
account_name: @account_name,
1717
access_key: @access_key,

0 commit comments

Comments
 (0)