diff --git a/client/client.go b/client/client.go index 081dd26f5..23702d91c 100644 --- a/client/client.go +++ b/client/client.go @@ -139,7 +139,7 @@ func NewClient(cfg *config.Config) (*Client, error) { // Initialize the client if err := c.init(); err != nil { - return nil, fmt.Errorf("failed intializing client: %v", err) + return nil, fmt.Errorf("failed to initialize client: %v", err) } // Setup the node diff --git a/command/agent/command.go b/command/agent/command.go index 5d68e24c2..717e0ea28 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -776,7 +776,7 @@ Client Options: -node-class Mark this node as a member of a node-class. This can be used to label - similiar node types. + similar node types. -meta User specified metadata to associated with the node. Each instance of -meta diff --git a/command/init.go b/command/init.go index 9b24a2f36..723402ac6 100644 --- a/command/init.go +++ b/command/init.go @@ -111,7 +111,7 @@ job "example" { attempts = 10 interval = "5m" - # A delay between a task failing and a restart occuring. + # A delay between a task failing and a restart occurring. delay = "25s" # Mode controls what happens when a task has restarted "attempts" diff --git a/website/source/docs/agent/config.html.md b/website/source/docs/agent/config.html.md index 45213f4ca..6ade7e391 100644 --- a/website/source/docs/agent/config.html.md +++ b/website/source/docs/agent/config.html.md @@ -321,12 +321,12 @@ documentation [here](/docs/drivers/index.html) * `consul.verifyssl`: This option enables SSL verification when the transport scheme for the Consul API client is `https`. This is set to true by default. -* `driver.whitelist`: A comma seperated list of whitelisted drivers (e.g. +* `driver.whitelist`: A comma separated list of whitelisted drivers (e.g. "docker,qemu"). If specified, drivers not in the whitelist will be disabled. If the whitelist is empty, all drivers are fingerprinted and enabled where applicable. -* `fingerprint.whitelist`: A comma seperated list of whitelisted fingerprinters. +* `fingerprint.whitelist`: A comma separated list of whitelisted fingerprinters. If specified, fingerprinters not in the whitelist will be disabled. If the whitelist is empty, all fingerprinters are used. diff --git a/website/source/docs/commands/agent-info.html.md.erb b/website/source/docs/commands/agent-info.html.md.erb index 78e4c8471..ceb7f3448 100644 --- a/website/source/docs/commands/agent-info.html.md.erb +++ b/website/source/docs/commands/agent-info.html.md.erb @@ -9,7 +9,7 @@ description: > # Command: agent-info The `agent-info` command dumps metrics and status information of a running -agent. The infomation displayed pertains to the specific agent the CLI +agent. The information displayed pertains to the specific agent the CLI is connected to. This is useful for troubleshooting and performance monitoring. ## Usage diff --git a/website/source/docs/commands/run.html.md.erb b/website/source/docs/commands/run.html.md.erb index f89eedc72..c5f709217 100644 --- a/website/source/docs/commands/run.html.md.erb +++ b/website/source/docs/commands/run.html.md.erb @@ -22,7 +22,7 @@ The run command requires a single argument, specifying the path to a file containing a valid [job specification](/docs/jobspec/index.html). This file will be read and the job will be submitted to Nomad for scheduling. -By default, on sucessful job submission the run command will enter an +By default, on successful job submission the run command will enter an interactive monitor and display log information detailing the scheduling decisions and placement information for the provided job. The monitor will exit after scheduling has finished or failed. diff --git a/website/source/docs/http/system.html.md b/website/source/docs/http/system.html.md index 7b4efdbd5..f32af29c0 100644 --- a/website/source/docs/http/system.html.md +++ b/website/source/docs/http/system.html.md @@ -3,12 +3,12 @@ layout: "http" page_title: "HTTP API: /v1/system/" sidebar_current: "docs-http-system" description: |- - The '/1/system/' endpoints are used to for system maintance. + The '/1/system/' endpoints are used to for system maintenance. --- # /v1/system -The `system` endpoint is used to for system maintance and should not be +The `system` endpoint is used to for system maintenance and should not be necessary for most users. By default, the agent's local region is used; another region can be specified using the `?region=` query parameter. diff --git a/website/source/docs/jobspec/index.html.md b/website/source/docs/jobspec/index.html.md index b15cf65b1..644192659 100644 --- a/website/source/docs/jobspec/index.html.md +++ b/website/source/docs/jobspec/index.html.md @@ -358,7 +358,7 @@ The `constraint` object supports the following keys: * `version` - Specifies a version constraint against the attribute. This sets the operator to `version` and the `value` to what is - specified. This supports a comma seperated list of constraints, + specified. This supports a comma separated list of constraints, including the pessimistic operator. See the [go-version](https://github.com/hashicorp/go-version) repository for examples. diff --git a/website/source/intro/getting-started/running.html.md b/website/source/intro/getting-started/running.html.md index 1d33d969c..7073901cc 100644 --- a/website/source/intro/getting-started/running.html.md +++ b/website/source/intro/getting-started/running.html.md @@ -128,7 +128,7 @@ and shut down: ``` By gracefully leaving, Nomad clients update their status to prevent -futher tasks from being scheduled and to start migrating any tasks that are +further tasks from being scheduled and to start migrating any tasks that are already assigned. Nomad servers notify their peers they intend to leave. When a server leaves, replication to that server stops. If a server fails, replication continues to be attempted until the node recovers. Nomad will