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

Pass options to initialization when adding a bucket #34

Merged
merged 1 commit into from
Jul 7, 2014
Merged

Pass options to initialization when adding a bucket #34

merged 1 commit into from
Jul 7, 2014

Conversation

johnkferguson
Copy link
Contributor

Currently, running the command octopress deploy add-bucket generates the following error:

/octopress-deploy-1.0.0.rc.9/lib/octopress-deploy/s3.rb:8:in `initialize': wrong number of arguments (0 for 1) (ArgumentError)

This is because the deployment options used for setting up an S3 bucket are not passed on to the S3's class initialization method.

This PR adds the options hash as the arguments to the initialization call to S3.

Users should now be able to add buckets when setting up deployment.

@parkr
Copy link
Member

parkr commented Jul 5, 2014

👍

@imathis
Copy link
Member

imathis commented Jul 7, 2014

Thanks!

imathis added a commit that referenced this pull request Jul 7, 2014
Pass options to initialization when adding a bucket
@imathis imathis merged commit 971b58f into octopress:master Jul 7, 2014
@johnkferguson johnkferguson deleted the deploy-options branch July 7, 2014 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants