api: remove app_name duplication of route related calls (#370)

This commit is contained in:
C Cirello
2016-12-01 17:38:32 +01:00
committed by GitHub
parent 61bba05274
commit 37afafab72
3 changed files with 9 additions and 15 deletions

View File

@@ -112,12 +112,11 @@ func (p *publishcmd) route(path string, ff *funcfile) error {
body := functions.RouteWrapper{
Route: functions.Route{
Path: *ff.Route,
Image: ff.FullName(),
AppName: *ff.App,
Memory: *ff.Memory,
Type_: *ff.Type,
Config: expandEnvConfig(ff.Config),
Path: *ff.Route,
Image: ff.FullName(),
Memory: *ff.Memory,
Type_: *ff.Type,
Config: expandEnvConfig(ff.Config),
},
}