refactor fix after profiler patch
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
9486bc24fd
commit
e4664c22ea
5 changed files with 8 additions and 9 deletions
|
@ -43,9 +43,9 @@ func main() {
|
|||
// ProjectID must be set if not running on GCP.
|
||||
// ProjectID: "my-project",
|
||||
}); err != nil {
|
||||
// TODO: Handle error.
|
||||
log.Fatalf("failed to start profiler: %+v", err)
|
||||
}
|
||||
|
||||
|
||||
port := listenPort
|
||||
if os.Getenv("PORT") != "" {
|
||||
port = os.Getenv("PORT")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue