Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify server-members is server-only #1761

Merged
merged 3 commits into from
Sep 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion command/server_members.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 4 additions & 0 deletions website/source/assets/stylesheets/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
3 changes: 3 additions & 0 deletions website/source/docs/commands/server-members.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tt>nomad server-members</tt> from a client will result in an error.

## Usage

```
Expand Down