fix error with directory
This commit is contained in:
parent
64995c9a69
commit
3f34e92dc8
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::blockio;
|
||||
package docker::docker::mode::blockio;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::containerstate;
|
||||
package cloud::docker::mode::containerstate;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::cpu;
|
||||
package cloud::docker::mode::cpu;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::image;
|
||||
package cloud::docker::mode::image;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::info;
|
||||
package cloud::docker::mode::info;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::listcontainers;
|
||||
package cloud::docker::mode::listcontainers;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::memory;
|
||||
package cloud::docker::mode::memory;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
package apps::docker::mode::traffic;
|
||||
package cloud::docker::mode::traffic;
|
||||
|
||||
use base qw(centreon::plugins::mode);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue