mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Added Lambda Node support as part of the regular functions workflow. (#601)
* Added Lambda Node support as part of the regular functions workflow. * Fixes for PR comments.
This commit is contained in:
committed by
Seif Lotfy سيف لطفي
parent
0492ca5dfb
commit
ca18ae88fa
@@ -296,15 +296,15 @@ func routeWithFuncFile(c *cli.Context, rt *models.Route) {
|
||||
if ff.Format != nil {
|
||||
rt.Format = *ff.Format
|
||||
}
|
||||
if ff.maxConcurrency != nil {
|
||||
rt.MaxConcurrency = int32(*ff.maxConcurrency)
|
||||
if ff.MaxConcurrency != nil {
|
||||
rt.MaxConcurrency = int32(*ff.MaxConcurrency)
|
||||
}
|
||||
if ff.Timeout != nil {
|
||||
to := int64(ff.Timeout.Seconds())
|
||||
rt.Timeout = &to
|
||||
}
|
||||
if rt.Path == "" && ff.path != nil {
|
||||
rt.Path = *ff.path
|
||||
if rt.Path == "" && ff.Path != nil {
|
||||
rt.Path = *ff.Path
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user