Skip to content

Commit

Permalink
fix: remove log printing env vars (#2069)
Browse files Browse the repository at this point in the history
## Description:
remove log printing env vars

## Is this change user facing?
NO

## References (if applicable):
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->
  • Loading branch information
leoporoli authored Jan 24, 2024
1 parent d389763 commit cbf73f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ func (backend *MetricsReportingKurtosisBackend) CreateAPIContainer(
customEnvVars,
)
if err != nil {
// WARNING: remember not to print 'customEnvVars' because it could end up creating a secret info leak
return nil, stacktrace.Propagate(
err,
"An error occurred creating an API container from image '%v' with envvars: %+v",
"An error occurred creating an API container from image '%v'",
image,
customEnvVars,
)
}
return result, nil
Expand Down

0 comments on commit cbf73f3

Please sign in to comment.