cloud-run-hello icon indicating copy to clipboard operation
cloud-run-hello copied to clipboard

The $PORT in the log message is a literal

Open ferrarimarco opened this issue 1 year ago • 2 comments

Hi folks!

When deploying this service on Cloud Run, the $PORT is printed as a literal in the log:

2024/04/17 14:13:36 Hello from Cloud Run! The container started successfully and is listening for HTTP requests on $PORT

Shall this be formatted?

https://github.com/GoogleCloudPlatform/cloud-run-hello/blob/7e45d10641efba44275ceed0c0aff2cc60a2866c/hello.go#L188

Thanks for your support!

ferrarimarco avatar Apr 17 '24 14:04 ferrarimarco

Hi @ferrarimarco,

Thanks for contributing.

Fix in progress.

Have a nice day :)

JulienBreux avatar Jul 03 '24 08:07 JulienBreux

Thanks @JulienBreux !

ferrarimarco avatar Jul 03 '24 08:07 ferrarimarco