mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Clean func file (#507)
* remove wrongfully added fnctl * Remove path and max_concurrency from func.yaml generated with `fn init` Fixes: 424
This commit is contained in:
committed by
Pedro Nasser
parent
a949c392c2
commit
c154e0811b
@@ -118,11 +118,11 @@ func (a *initFnCmd) init(c *cli.Context) error {
|
||||
Version: initialVersion,
|
||||
Entrypoint: &a.entrypoint,
|
||||
Format: ffmt,
|
||||
MaxConcurrency: &a.maxConcurrency,
|
||||
maxConcurrency: &a.maxConcurrency,
|
||||
}
|
||||
|
||||
_, path := appNamePath(ff.FullName())
|
||||
ff.Path = &path
|
||||
ff.path = &path
|
||||
|
||||
if err := encodeFuncfileYAML("func.yaml", ff); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user