mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
@@ -49,10 +49,6 @@ var (
|
||||
func (r *Route) Validate() error {
|
||||
var res []error
|
||||
|
||||
if r.Image == "" {
|
||||
res = append(res, ErrRoutesValidationMissingImage)
|
||||
}
|
||||
|
||||
if r.Memory == 0 {
|
||||
r.Memory = 128
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user