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

Add more storage samples for the cloud client libraries. #432

Merged
merged 4 commits into from
Jul 29, 2016
Merged
Changes from 1 commit
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
Prev Previous commit
Fixing elifs
Change-Id: Iabb96acf84fa9539125c4a87336753c48a337571
  • Loading branch information
Jon Wayne Parrott committed Jul 29, 2016
commit a42ee02854cfbfcee70455482d8f6eec510963e3
6 changes: 3 additions & 3 deletions storage/cloud-client/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ def copy_blob(bucket_name, blob_name, new_bucket_name, new_blob_name):

if args.command == 'create-bucket':
create_bucket(args.bucket_name)
if args.command == 'delete-bucket':
elif args.command == 'delete-bucket':
delete_bucket(args.bucket_name)
if args.command == 'list':
elif args.command == 'list':
list_blobs(args.bucket_name)
if args.command == 'list-with-prefix':
elif args.command == 'list-with-prefix':
list_blobs_with_prefix(args.bucket_name, args.prefix, args.delimiter)
elif args.command == 'upload':
upload_blob(
Expand Down