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:
Seif Lotfy سيف لطفي
2017-02-02 22:39:18 +01:00
committed by Pedro Nasser
parent a949c392c2
commit c154e0811b
8 changed files with 32 additions and 30 deletions

View File

@@ -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