From 67b2e6be60669e4daff2dfd32e641955db6a9a94 Mon Sep 17 00:00:00 2001 From: Dave May Date: Mon, 29 Mar 2021 09:22:27 -0400 Subject: [PATCH] debug: Remove extra linefeed in monitor.log (#10252) --- CHANGELOG.md | 1 + command/operator_debug.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36811345a69..73f0f80b10b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)] diff --git a/command/operator_debug.go b/command/operator_debug.go index eeaf8ae5564..036acd6657f 100644 --- a/command/operator_debug.go +++ b/command/operator_debug.go @@ -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()))