From 19e95ac17b4e89c40476dbe7502262eb0489fca4 Mon Sep 17 00:00:00 2001 From: Sylvain Pineau Date: Thu, 5 Mar 2015 20:56:28 +0100 Subject: providers:checkbox:disks.txt.in: discard storage devices with an empty name Related to https://bugs.launchpad.net/plainbox-provider-resource/+bug/1428575 But does not really fix it, just avoid a plainbox template expansion error. --- jobs/disk.txt.in | 1 + 1 file changed, 1 insertion(+) diff --git a/jobs/disk.txt.in b/jobs/disk.txt.in index 7dff575..1fd3041 100644 --- a/jobs/disk.txt.in +++ b/jobs/disk.txt.in @@ -12,6 +12,7 @@ template-filter: device.category == 'DISK' plugin: shell id: staging/disk/stats_{name} requires: + device.name != '' block_device.{name}_state != 'removable' user: root command: disk_stats_test {name} -- cgit v1.2.3