Skip to content

Commit 4b22662

Browse files
authored
Enable storage-cli for AWS (#4855)
storage-cli with v0.0.4 implements the missing commands for AWS/S3 needed by ccng.
1 parent 6d5b46b commit 4b22662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cloud_controller/blobstore/storage_cli/storage_cli_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class StorageCliClient < BaseClient
2525
'Google' => 'gcs'
2626
}.freeze
2727

28-
IMPLEMENTED_PROVIDERS = %w[AzureRM aliyun Google].freeze
28+
IMPLEMENTED_PROVIDERS = %w[AzureRM aliyun Google AWS].freeze
2929

3030
def initialize(directory_key:, resource_type:, root_dir:, min_size: nil, max_size: nil)
3131
raise 'Missing resource_type' if resource_type.nil?

spec/unit/lib/cloud_controller/blobstore/storage_cli/storage_cli_client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module Blobstore
4949

5050
expect do
5151
StorageCliClient.new(directory_key: 'dummy-key', root_dir: 'dummy-root', resource_type: 'droplets')
52-
end.to raise_error(RuntimeError, 'Unimplemented provider: UnknownProvider, implemented ones are: AzureRM, aliyun, Google')
52+
end.to raise_error(RuntimeError, 'Unimplemented provider: UnknownProvider, implemented ones are: AzureRM, aliyun, Google, AWS')
5353

5454
droplets_cfg.close!
5555
end

0 commit comments

Comments
 (0)