Skip to content

Commit

Permalink
debug: Remove extra linefeed in monitor.log (#10252)
Browse files Browse the repository at this point in the history
  • Loading branch information
davemay99 authored and schmichael committed May 14, 2021
1 parent c9901b3 commit 67b2e6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ BUG FIXES:
* api: Removed unimplemented `CSIVolumes.PluginList` API. [[GH-10158](https://github.com/hashicorp/nomad/issues/10158)]
* cli: Fixed a bug where non-int proxy port would panic CLI [[GH-10072](https://github.com/hashicorp/nomad/issues/10072)]
* cli: Fixed a bug where `nomad operator debug` incorrectly parsed https Consul API URLs. [[GH-10082](https://github.com/hashicorp/nomad/pull/10082)]
* cli: Remove extra linefeeds in monitor.log files written by `nomad operator debug`. [[GH-10252](https://github.com/hashicorp/nomad/issues/10252)]
* client: Fixed log formatting when killing tasks. [[GH-10135](https://github.com/hashicorp/nomad/issues/10135)]
* csi: Fixed a bug where volume with IDs that are a substring prefix of another volume could use the wrong volume for feasibility checking. [[GH-10158](https://github.com/hashicorp/nomad/issues/10158)]
* scheduler: Fixed a bug where jobs requesting multiple CSI volumes could be incorrectly scheduled if only one of the volumes passed feasibility checking. [[GH-10143](https://github.com/hashicorp/nomad/issues/10143)]
Expand Down
1 change: 0 additions & 1 deletion command/operator_debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,6 @@ func (c *OperatorDebugCommand) startMonitor(path, idKey, nodeID string, client *
continue
}
fh.Write(out.Data)
fh.WriteString("\n")

case err := <-errCh:
fh.WriteString(fmt.Sprintf("monitor: %s\n", err.Error()))
Expand Down

0 comments on commit 67b2e6b

Please sign in to comment.