From 26fc1b140f3219fc91c18e8897cd61727b6596ba Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Wed, 7 Nov 2018 13:52:08 -0800 Subject: [PATCH] shorter health descriptions --- drivers/exec/driver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/exec/driver.go b/drivers/exec/driver.go index e088f0694..eaf823a64 100644 --- a/drivers/exec/driver.go +++ b/drivers/exec/driver.go @@ -202,13 +202,13 @@ func (d *Driver) buildFingerprint() *drivers.Fingerprint { if mount == "" { fp.Health = drivers.HealthStateUnhealthy - fp.HealthDescription = "cgroups are unavailable" + fp.HealthDescription = "requires cgroup" return fp } if !utils.IsUnixRoot() { fp.Health = drivers.HealthStateUnhealthy - fp.HealthDescription = "exec driver must run as root" + fp.HealthDescription = "requires root" return fp }