client: Fixed a bug where JSON formatted logs would not show the requested and overlapping cores when failing to reserve cores#25523
Conversation
aafa282 to
74af6a7
Compare
…ested and overlapping cores when failing to reserve cores
74af6a7 to
c6c49c7
Compare
|
Thanks @tgross , for others to reference, the difference is between stdout and json logger : https://github.com/hashicorp/go-hclog/blob/v1.6.3/intlogger.go#L419-L426 versus https://github.com/hashicorp/go-hclog/blob/v1.6.3/intlogger.go#L645 , where the "%v" will result in the call to |
|
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Description
There is a difference between the json and non-json logger resulting in the loss of data.
Testing & Reproduction steps
versus
Links
This was originally introduced by !24304
Contributor Checklist
changelog entry using the
make clcommand.ensure regressions will be caught.
and job configuration, please update the Nomad website documentation to reflect this. Refer to
the website README for docs guidelines. Please also consider whether the
change requires notes within the upgrade guide.
Reviewer Checklist
backporting document.
in the majority of situations. The main exceptions are long-lived feature branches or merges where
history should be preserved.
within the public repository.