Skip to content

Commit

Permalink
Fix tertiary operator syntax error.
Browse files Browse the repository at this point in the history
  • Loading branch information
minter committed Sep 28, 2011
1 parent 26dfbfa commit a5d21a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cloudfiles/container.rb
Expand Up @@ -61,7 +61,7 @@ def cdn_metadata
:cdn_ttl => cdn_enabled ? response["x-ttl"].to_i : nil,
:cdn_url => cdn_enabled ? response["x-cdn-uri"] : nil,
:cdn_ssl_url => cdn_enabled ? response["x-cdn-ssl-uri"] : nil,
:cdn_streaming_url => cdn_enabled ? response["x-cdn-streaming-uri"] nil,
:cdn_streaming_url => cdn_enabled ? response["x-cdn-streaming-uri"] : nil,
:user_agent_acl => response["x-user-agent-acl"],
:referrer_acl => response["x-referrer-acl"],
:cdn_log => (cdn_enabled and response["x-log-retention"] == "True") ? true : false
Expand Down

0 comments on commit a5d21a8

Please sign in to comment.