From 00b2ae19dfa7e434b41857609770c5bad4f245b1 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 27 Sep 2016 13:22:50 -0700 Subject: [PATCH 1/3] Add a note to the CLI that only servers can run this command --- command/server_members.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/server_members.go b/command/server_members.go index 94f5aadfc7f..e8340920d77 100644 --- a/command/server_members.go +++ b/command/server_members.go @@ -17,7 +17,8 @@ func (c *ServerMembersCommand) Help() string { helpText := ` Usage: nomad server-members [options] - Display a list of the known servers and their status. + Display a list of the known servers and their status. Only Nomad servers are + able to service this command. General Options: From 9b6b4ff6622d9376be99939333e475be99aff252 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 27 Sep 2016 13:22:57 -0700 Subject: [PATCH 2/3] Add a callout that this is a server command --- website/source/docs/commands/server-members.html.md.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/source/docs/commands/server-members.html.md.erb b/website/source/docs/commands/server-members.html.md.erb index e72db0e4cb2..d5fe869ab56 100644 --- a/website/source/docs/commands/server-members.html.md.erb +++ b/website/source/docs/commands/server-members.html.md.erb @@ -12,6 +12,9 @@ The `server-members` command displays a list of the known servers in the cluster and their current status. Member information is provided by the gossip protocol, which is only run on server nodes. +~> **Only runs on servers!** This command can only be run from the server nodes. +Running nomad server-members from a client will result in an error. + ## Usage ``` From 36fe917007fd193696e062cea769bc62248b48fc Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 27 Sep 2016 13:23:03 -0700 Subject: [PATCH 3/3] Remove the annoying bottom margin on callouts --- website/source/assets/stylesheets/_global.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/source/assets/stylesheets/_global.scss b/website/source/assets/stylesheets/_global.scss index acc38ea4774..79872463bec 100755 --- a/website/source/assets/stylesheets/_global.scss +++ b/website/source/assets/stylesheets/_global.scss @@ -81,6 +81,10 @@ pre { text-align: center; } +.alert p:last-child { + margin-bottom: 0; +} + //fixed grid below 992 to prevent smaller responsive sizes @media (max-width: 992px) { .container{