Fixed slice index out of bounds error from fix-logs

This commit is contained in:
Travis Reeder
2017-06-21 08:24:06 -07:00
parent 6159deb22d
commit 47d78c3307
9 changed files with 38 additions and 101 deletions

View File

@@ -146,7 +146,6 @@ func (p *deploycmd) deploy(c *cli.Context, funcFilePath string) error {
func (p *deploycmd) route(c *cli.Context, ff *funcfile) error {
fmt.Printf("Updating route %s using image %s...\n", ff.Path, ff.FullName())
fmt.Printf("%+v\ntype: %v\n", ff, *ff.Type)
if err := resetBasePath(p.Configuration); err != nil {
return fmt.Errorf("error setting endpoint: %v", err)
}