From 867bb6f7f900fab8eb2f085e11f7f8a29c271823 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle Date: Fri, 12 Jan 2018 09:44:53 -0500 Subject: [PATCH] Found more priviledge. priviledge -> privilege --- CHANGELOG.md | 2 +- client/driver/java.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf72f4efe..e33f99349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -665,7 +665,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)] diff --git a/client/driver/java.go b/client/driver/java.go index 0c660547c..8c162e0cd 100644 --- a/client/driver/java.go +++ b/client/driver/java.go @@ -116,7 +116,7 @@ func (d *JavaDriver) Fingerprint(cfg *config.Config, node *structs.Node) (bool, // Only enable if we are root and cgroups are mounted when running on linux systems. if runtime.GOOS == "linux" && (syscall.Geteuid() != 0 || !cgroupsMounted(node)) { if d.fingerprintSuccess == nil || *d.fingerprintSuccess { - d.logger.Printf("[DEBUG] driver.java: root priviledges and mounted cgroups required on linux, disabling") + d.logger.Printf("[DEBUG] driver.java: root privileges and mounted cgroups required on linux, disabling") } delete(node.Attributes, "driver.java") d.fingerprintSuccess = helper.BoolToPtr(false)