fn: improve UX (#325)

* fn: make UX more consistent with regards to app name position

* fn: improve detection of missing routes

* fn: fix update operations

- No longer delete-than-add for configuration updates
- Path cleaning before most of routes operations
This commit is contained in:
C Cirello
2016-11-22 00:27:48 +01:00
committed by Seif Lotfy سيف لطفي
parent e2e82086c5
commit fe845e1886
10 changed files with 189 additions and 96 deletions

View File

@@ -88,7 +88,7 @@ func (p publishcmd) dockerpush(ff *funcfile) error {
}
func (p *publishcmd) route(path string, ff *funcfile) error {
if err := resetBasePath(&p.Configuration); err != nil {
if err := resetBasePath(p.Configuration); err != nil {
return fmt.Errorf("error setting endpoint: %v", err)
}