Skip to content
This repository was archived by the owner on Aug 24, 2019. It is now read-only.

Commit 905f68c

Browse files
authored
Fix size args 1X,2X -> Standard-1X, Standard-2X
Issue heroku#83
1 parent 95c967c commit 905f68c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ heroku.formation.list('floating-retreat-4255')
236236
"id"=>"f682b260-8089-4e18-b792-688cc02bf923",
237237
"type"=>"web",
238238
"quantity"=>1,
239-
"size"=>"1X",
239+
"size"=>"Standard-1X",
240240
"updated_at"=>"2014-03-13T04:13:37Z"}]
241241
```
242242

@@ -246,13 +246,13 @@ Let's change `web` process to run on a 2X dyno:
246246
heroku.formation.batch_update('floating-retreat-4255',
247247
{"updates" => [{"process" => "web",
248248
"quantity" => 1,
249-
"size" => "2X"}]})
249+
"size" => "Standard-2X"}]})
250250
=> [{"command"=>"coffee index.coffee",
251251
"created_at"=>"2014-03-13T04:13:37Z",
252252
"id"=>"f682b260-8089-4e18-b792-688cc02bf923",
253253
"type"=>"web",
254254
"quantity"=>1,
255-
"size"=>"2X",
255+
"size"=>"Standard-2X",
256256
"updated_at"=>"2014-03-13T04:22:15Z"}]
257257
```
258258

@@ -261,13 +261,13 @@ command. We can use the singular update action to modify a single formation
261261
type:
262262

263263
```ruby
264-
heroku.formation.update('floating-retreat-4255', 'web', {"size" => "1X"})
264+
heroku.formation.update('floating-retreat-4255', 'web', {"size" => "Standard-1X"})
265265
=> {"command"=>"coffee index.coffee",
266266
"created_at"=>"2014-03-13T04:13:37Z",
267267
"id"=>"f682b260-8089-4e18-b792-688cc02bf923",
268268
"type"=>"web",
269269
"quantity"=>1,
270-
"size"=>"1X",
270+
"size"=>"Standard-1X",
271271
"updated_at"=>"2014-03-13T04:24:46Z"}
272272
```
273273

0 commit comments

Comments
 (0)