mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Uses SetDefaults as it does in create too.
This commit is contained in:
@@ -90,9 +90,9 @@ func (r *Route) SetDefaults() {
|
||||
r.Timeout = defaultRouteTimeout
|
||||
}
|
||||
|
||||
//if r.IdleTimeout == 0 {
|
||||
// r.IdleTimeout = htfnScaleDownTimeout
|
||||
//}
|
||||
if r.IdleTimeout == 0 {
|
||||
r.IdleTimeout = htfnScaleDownTimeout
|
||||
}
|
||||
}
|
||||
|
||||
// Validate validates field values, skipping zeroed fields if skipZero is true.
|
||||
|
||||
Reference in New Issue
Block a user