File tree Expand file tree Collapse file tree 3 files changed +3
-17
lines changed Expand file tree Collapse file tree 3 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,13 @@ You can write functions in any of the following runtimes and execute them straig
10
10
- Node.js 16
11
11
- Node.js 14
12
12
- Node.js 12
13
- - Node.js 10
14
13
- Python 3.8
15
14
- Python 3.7
16
- - Python 3.6
17
- - Python 2.7
18
15
- Ruby 2.7
19
- - Ruby 2.5
20
16
- Java 11
21
17
- Java 8
22
18
- Go 1.x
23
19
- .NET Core 3.1
24
- - .NET Core 2.1
25
20
26
21
Any runtime that [ Lambda supports] ( https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html ) , you can use!
27
22
Original file line number Diff line number Diff line change 6
6
namespace Hammerstone \Sidecar ;
7
7
8
8
use Exception ;
9
+ use Illuminate \Support \Str ;
9
10
use Hammerstone \Sidecar \Clients \LambdaClient ;
10
11
use Hammerstone \Sidecar \Events \AfterFunctionsActivated ;
11
12
use Hammerstone \Sidecar \Events \AfterFunctionsDeployed ;
@@ -195,7 +196,7 @@ protected function warmLatestVersion(LambdaFunction $function)
195
196
$ results = Sidecar::warmSingle ($ function , $ async = false , $ version );
196
197
197
198
if ($ warmed = count ($ results )) {
198
- Sidecar::log ("Warmed $ warmed instances. " );
199
+ Sidecar::log ("Warmed $ warmed " . Str:: plural ( " instance " , $ warmed ) );
199
200
} else {
200
201
Sidecar::log ('No instances warmed. If this is unexpected, confirm your `warmingConfig` method is set up correctly. ' );
201
202
}
Original file line number Diff line number Diff line change @@ -10,22 +10,14 @@ abstract class Runtime
10
10
11
11
public const NODEJS_12 = 'nodejs12.x ' ;
12
12
13
- public const NODEJS_10 = 'nodejs10.x ' ;
14
-
15
13
public const PYTHON_39 = 'python3.9 ' ;
16
14
17
15
public const PYTHON_38 = 'python3.8 ' ;
18
16
19
17
public const PYTHON_37 = 'python3.7 ' ;
20
18
21
- public const PYTHON_36 = 'python3.6 ' ;
22
-
23
- public const PYTHON_27 = 'python2.7 ' ;
24
-
25
19
public const RUBY_27 = 'ruby2.7 ' ;
26
-
27
- public const RUBY_25 = 'ruby2.5 ' ;
28
-
20
+
29
21
public const JAVA_11 = 'java11 ' ;
30
22
31
23
public const JAVA_8_LINUX2 = 'java8.al2 ' ;
@@ -38,7 +30,5 @@ abstract class Runtime
38
30
39
31
public const DOT_NET_31 = 'dotnetcore3.1 ' ;
40
32
41
- public const DOT_NET_21 = 'dotnetcore2.1 ' ;
42
-
43
33
public const PROVIDED_AL2 = 'provided.al2 ' ;
44
34
}
You can’t perform that action at this time.
0 commit comments