Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rackspace/ruby-cloudfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
minter committed Jun 10, 2010
2 parents b88af79 + 08d2e67 commit 0705d08
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/cloudfiles/container.rb
Expand Up @@ -262,12 +262,6 @@ def make_public(options = {:ttl => 86400})
ttl = options
options = {:ttl => ttl}
end
if options[:ttl] < 3600
options[:ttl] = 3600
end
if options[:ttl] > 259200
options[:ttl] = 259200
end

response = self.connection.cfreq("PUT",@cdnmgmthost,@cdnmgmtpath,@cdnmgmtport,@cdnmgmtscheme)
raise NoSuchContainerException, "Container #{@name} does not exist" unless (response.code == "201" || response.code == "202")
Expand Down

0 comments on commit 0705d08

Please sign in to comment.