Skip to content

Commit

Permalink
Merge pull request #3730 from hashicorp/cv-typo-privilege
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
schmichael authored Jan 9, 2018
2 parents 05b339a + 8d6bd6d commit 34d3bba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ BUG FIXES:
* client: Killing an allocation doesn't cause allocation stats to block
[[GH-1454](https://github.com/hashicorp/nomad/issues/1454)]
* driver/docker: Disable swap on docker driver [[GH-1480](https://github.com/hashicorp/nomad/issues/1480)]
* driver/docker: Fix improper gating on priviledged mode [[GH-1506](https://github.com/hashicorp/nomad/issues/1506)]
* driver/docker: Fix improper gating on privileged mode [[GH-1506](https://github.com/hashicorp/nomad/issues/1506)]
* driver/docker: Default network type is "nat" on Windows [[GH-1521](https://github.com/hashicorp/nomad/issues/1521)]
* driver/docker: Cleanup created volume when destroying container [[GH-1519](https://github.com/hashicorp/nomad/issues/1519)]
* driver/rkt: Set host environment variables [[GH-1581](https://github.com/hashicorp/nomad/issues/1581)]
Expand Down
2 changes: 1 addition & 1 deletion client/driver/executor/executor_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestExecutor_IsolationAndConstraints(t *testing.T) {

execCmd.FSIsolation = true
execCmd.ResourceLimits = true
execCmd.User = dstructs.DefaultUnpriviledgedUser
execCmd.User = dstructs.DefaultUnprivilegedUser

executor := NewExecutor(log.New(os.Stdout, "", log.LstdFlags))

Expand Down
2 changes: 1 addition & 1 deletion client/driver/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

const (
// The default user that the executor uses to run tasks
DefaultUnpriviledgedUser = "nobody"
DefaultUnprivilegedUser = "nobody"

// CheckBufSize is the size of the check output result
CheckBufSize = 4 * 1024
Expand Down
2 changes: 1 addition & 1 deletion client/driver/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func GetAbsolutePath(bin string) (string, error) {
// dstructs.DefaultUnprivilegedUser if none was given.
func getExecutorUser(task *structs.Task) string {
if task.User == "" {
return dstructs.DefaultUnpriviledgedUser
return dstructs.DefaultUnprivilegedUser
}
return task.User
}
Expand Down
2 changes: 1 addition & 1 deletion nomad/structs/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ type Node struct {

// SecretID is an ID that is only known by the Node and the set of Servers.
// It is not accessible via the API and is used to authenticate nodes
// conducting priviledged activities.
// conducting privileged activities.
SecretID string

// Datacenter for this node
Expand Down

0 comments on commit 34d3bba

Please sign in to comment.