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"), }, },