Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Commit 265abb7

Browse files
author
Simon Tsang
committed
update
1 parent 4ffb411 commit 265abb7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dockercloud.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ def ssl?
127127
@ssl ||= containers.first.ssl? rescue nil
128128
end
129129

130+
def client_max_body_size
131+
@client_max_body_size ||= containers.first.client_max_body_size rescue "1m"
132+
end
133+
130134
def running?
131135
@state ||= begin
132136
['Running', 'Partly running'].include?(attributes['state'])

0 commit comments

Comments
 (0)