The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7950
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Currently, the output of `lxc cluster list` appears with the following status message when a node is offline:  (written out, this is "no heartbeat since" followed by a countup timer.) This commit changes "since" to "for" (a grammatical fix). Signed-off-by: Adam Bell <adam.b...@canonical.com>
From 42164f6dce4c5ee8da0c886257ebc131e97d28f9 Mon Sep 17 00:00:00 2001 From: Adam R Bell <a_0...@protonmail.ch> Date: Mon, 14 Sep 2020 17:28:59 -0600 Subject: [PATCH] lxd/cluster: Changing "no heartbeat" language in membership.go "no heartbeat since <countup>" changed to "no heartbeat for <countup>" Signed-off-by: Adam Bell <adam.b...@canonical.com> --- lxd/cluster/membership.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/cluster/membership.go b/lxd/cluster/membership.go index 66716ff68b..c0618b7244 100644 --- a/lxd/cluster/membership.go +++ b/lxd/cluster/membership.go @@ -977,7 +977,7 @@ func List(state *state.State, gateway *Gateway) ([]api.ClusterMember, error) { if node.IsOffline(offlineThreshold) { result[i].Status = "Offline" result[i].Message = fmt.Sprintf( - "no heartbeat since %s", now.Sub(node.Heartbeat)) + "no heartbeat for %s", now.Sub(node.Heartbeat)) } else { result[i].Status = "Online" result[i].Message = "fully operational"
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel