File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ func (d *DryccCmd) LimitsList(appID string) error {
2727
2828 d .Println ("--- Memory" )
2929 if len (config .Memory ) == 0 {
30- d .Println ("Unlimited " )
30+ d .Println ("Default " )
3131 } else {
3232 memoryMap := make (map [string ]string )
3333
@@ -40,7 +40,7 @@ func (d *DryccCmd) LimitsList(appID string) error {
4040
4141 d .Println ("\n --- CPU" )
4242 if len (config .CPU ) == 0 {
43- d .Println ("Unlimited " )
43+ d .Println ("Default " )
4444 } else {
4545 cpuMap := make (map [string ]string )
4646
Original file line number Diff line number Diff line change @@ -152,10 +152,10 @@ worker 1
152152 assert .Equal (t , b .String (), `=== franklin Limits
153153
154154--- Memory
155- Unlimited
155+ Default
156156
157157--- CPU
158- Unlimited
158+ Default
159159` , "output" )
160160}
161161
@@ -204,7 +204,7 @@ func TestLimitsSet(t *testing.T) {
204204=== foo Limits
205205
206206--- Memory
207- Unlimited
207+ Default
208208
209209--- CPU
210210web 100m
@@ -248,7 +248,7 @@ web 100m
248248web 1G
249249
250250--- CPU
251- Unlimited
251+ Default
252252` , "output" )
253253
254254 // with requests/limit parameter
@@ -296,7 +296,7 @@ web 2000M
296296worker 3G
297297
298298--- CPU
299- Unlimited
299+ Default
300300` , "output" )
301301
302302 // with requests/limit parameter
@@ -339,7 +339,7 @@ Unlimited
339339=== phew Limits
340340
341341--- Memory
342- Unlimited
342+ Default
343343
344344--- CPU
345345db 5.6
@@ -393,7 +393,7 @@ func TestLimitsUnset(t *testing.T) {
393393=== foo Limits
394394
395395--- Memory
396- Unlimited
396+ Default
397397
398398--- CPU
399399web 100m
@@ -437,6 +437,6 @@ web 100m
437437web 1G
438438
439439--- CPU
440- Unlimited
440+ Default
441441` , "output" )
442442}
You can’t perform that action at this time.
0 commit comments