From bc6929b8fdf6feed62fc975d132e43121ffacc5f Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Wed, 12 Dec 2018 09:17:31 -0500 Subject: [PATCH] fixup! device attributes in `nomad node status -verbose` --- command/helper_devices_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/helper_devices_test.go b/command/helper_devices_test.go index 028d72701..a54af1cad 100644 --- a/command/helper_devices_test.go +++ b/command/helper_devices_test.go @@ -254,11 +254,11 @@ func TestGetDeviceAttributes(t *testing.T) { Name: "Name", Attributes: map[string]*api.Attribute{ - "utilization": &api.Attribute{ + "utilization": { FloatVal: helper.Float64ToPtr(0.78), Unit: "%", }, - "filesystem": &api.Attribute{ + "filesystem": { StringVal: helper.StringToPtr("ext4"), }, },