Skip to content

Commit 7d9e75f

Browse files
committed
Simplify regex for collectd df plugin instances used by docker
1 parent b8931eb commit 7d9e75f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/docker.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
plugin => 'regex',
6767
options => {
6868
'Plugin' => '^df$',
69-
'PluginInstance' => '^(data-docker-tmp|var-lib-docker-tmp|run-docker-runtime).*'
69+
'PluginInstance' => '^(data-docker-tmp|var-lib-docker-tmp|run-docker).*'
7070
}
7171
}
7272

spec/classes/docker_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
'plugin' => 'regex',
4949
'options' => {
5050
'Plugin' => '^df$',
51-
'PluginInstance' => '^(data-docker-tmp|var-lib-docker-tmp|run-docker-runtime).*'
51+
'PluginInstance' => '^(data-docker-tmp|var-lib-docker-tmp|run-docker).*'
5252
}
5353
) }
5454

0 commit comments

Comments
 (0)