Update back to put

This commit is contained in:
James Jeffrey
2017-07-19 15:43:44 -07:00
parent cd88c16915
commit 06505cef17
4 changed files with 26 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ func (p *deploycmd) route(c *cli.Context, ff *funcfile) error {
if err := routeWithFuncFile(c, ff, rt); err != nil {
return fmt.Errorf("error getting route with funcfile: %s", err)
}
return routesCmd.patchRoute(c, p.appName, ff.Path, rt)
return routesCmd.putRoute(c, p.appName, ff.Path, rt)
}
func expandEnvConfig(configs map[string]string) map[string]string {