From 3f34e92dc86c42056926a56ac75c067b7c72ef28 Mon Sep 17 00:00:00 2001 From: Shini31 Date: Mon, 10 Aug 2015 13:54:20 +0200 Subject: [PATCH] fix error with directory --- cloud/docker/mode/blockio.pm | 2 +- cloud/docker/mode/containerstate.pm | 2 +- cloud/docker/mode/cpu.pm | 2 +- cloud/docker/mode/image.pm | 2 +- cloud/docker/mode/info.pm | 2 +- cloud/docker/mode/listcontainers.pm | 2 +- cloud/docker/mode/memory.pm | 2 +- cloud/docker/mode/traffic.pm | 2 +- cloud/docker/plugin.pm | 18 +++++++++--------- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cloud/docker/mode/blockio.pm b/cloud/docker/mode/blockio.pm index 2e7691eb2..dfee0ea62 100644 --- a/cloud/docker/mode/blockio.pm +++ b/cloud/docker/mode/blockio.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::blockio; +package docker::docker::mode::blockio; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/mode/containerstate.pm b/cloud/docker/mode/containerstate.pm index 0f645666e..08b08fb5f 100644 --- a/cloud/docker/mode/containerstate.pm +++ b/cloud/docker/mode/containerstate.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::containerstate; +package cloud::docker::mode::containerstate; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/mode/cpu.pm b/cloud/docker/mode/cpu.pm index ca540a443..51bbaa9b7 100644 --- a/cloud/docker/mode/cpu.pm +++ b/cloud/docker/mode/cpu.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::cpu; +package cloud::docker::mode::cpu; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/mode/image.pm b/cloud/docker/mode/image.pm index 78417eb6c..8ed00d3cc 100644 --- a/cloud/docker/mode/image.pm +++ b/cloud/docker/mode/image.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::image; +package cloud::docker::mode::image; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/mode/info.pm b/cloud/docker/mode/info.pm index bdd0f062e..d9492d2db 100644 --- a/cloud/docker/mode/info.pm +++ b/cloud/docker/mode/info.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::info; +package cloud::docker::mode::info; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/mode/listcontainers.pm b/cloud/docker/mode/listcontainers.pm index 500879390..f05359daf 100644 --- a/cloud/docker/mode/listcontainers.pm +++ b/cloud/docker/mode/listcontainers.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::listcontainers; +package cloud::docker::mode::listcontainers; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/mode/memory.pm b/cloud/docker/mode/memory.pm index fcfa6d38e..be36deb5e 100644 --- a/cloud/docker/mode/memory.pm +++ b/cloud/docker/mode/memory.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::memory; +package cloud::docker::mode::memory; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/mode/traffic.pm b/cloud/docker/mode/traffic.pm index 9cda80515..6bfe6a6a1 100644 --- a/cloud/docker/mode/traffic.pm +++ b/cloud/docker/mode/traffic.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::mode::traffic; +package cloud::docker::mode::traffic; use base qw(centreon::plugins::mode); diff --git a/cloud/docker/plugin.pm b/cloud/docker/plugin.pm index 6fcb0c2c2..2aea860a5 100644 --- a/cloud/docker/plugin.pm +++ b/cloud/docker/plugin.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package apps::docker::plugin; +package cloud::docker::plugin; use strict; use warnings; @@ -32,14 +32,14 @@ sub new { $self->{version} = '0.1'; %{$self->{modes}} = ( - 'blockio' => 'apps::docker::mode::blockio', - 'containerstate' => 'apps::docker::mode::containerstate', - 'cpu' => 'apps::docker::mode::cpu', - 'image' => 'apps::docker::mode::image', - 'info' => 'apps::docker::mode::info', - 'list-containers' => 'apps::docker::mode::listcontainers', - 'memory' => 'apps::docker::mode::memory', - 'traffic' => 'apps::docker::mode::traffic', + 'blockio' => ':cloud:docker::mode::blockio', + 'containerstate' => ':cloud:docker::mode::containerstate', + 'cpu' => ':cloud:docker::mode::cpu', + 'image' => ':cloud:docker::mode::image', + 'info' => ':cloud:docker::mode::info', + 'list-containers' => ':cloud:docker::mode::listcontainers', + 'memory' => ':cloud:docker::mode::memory', + 'traffic' => ':cloud:docker::mode::traffic', ); return $self; }