Permalink
Browse files

debug

  • Loading branch information...
1 parent 910bf10 commit af833395be441f5aaa927fccf8a1adbf2adb6a37 Guillaume Montard committed Apr 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 storage.rb
View
@@ -132,7 +132,7 @@ def flush_writes #:nodoc:
log("error saving to Azure #{path(style)}")
## If container doesn't exist we create it
if WAZ::Blobs::Container.find(container_name).blank?
- WAZ::Blobs::Container.create(container).public_access = "blob"
+ WAZ::Blobs::Container.create(container_name).public_access = "blob"
log("retryng saving to Azure #{path(style)}")
retry
end
@@ -276,7 +276,7 @@ def flush_writes #:nodoc:
log("error saving to Azure #{path(style)}")
## If container doesn't exist we create it
if WAZ::Blobs::Container.find(container_name).blank?
- WAZ::Blobs::Container.create(container).public_access = "blob"
+ WAZ::Blobs::Container.create(container_name).public_access = "blob"
log("retryng saving to Azure #{path(style)}")
retry
end

0 comments on commit af83339

Please sign in to comment.