Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

"status" option produces bad 'HTTP Trigger' path #71

Closed
wainiac opened this issue Mar 10, 2017 · 0 comments
Closed

"status" option produces bad 'HTTP Trigger' path #71

wainiac opened this issue Mar 10, 2017 · 0 comments
Labels
Projects

Comments

@wainiac
Copy link

wainiac commented Mar 10, 2017

Description

$ function status

is missing the projectId value leading to incorrect URL's

HTTP Triggers │ http://localhost:8010/undefined/us-central1/:function

Steps to reproduce

  • if the projectId exists in .active-server.json remove it.

    $ function start
    $ function deploy helloWorld --trigger-http
    $ function status

Fix

It appears the following line is missing from src/cli/controller.js (line 598)

projectId: this.config.projectId,

Thanks!

@jmdobry jmdobry self-assigned this Mar 11, 2017
@jmdobry jmdobry added the bug label Mar 11, 2017
@jmdobry jmdobry added this to In Progress in CLI Mar 11, 2017
@jmdobry jmdobry moved this from In Progress to Done in CLI Mar 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
CLI
Done
Development

No branches or pull requests

2 participants