Skip to content

Commit

Permalink
skip unused tw_cli deps. #131
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Feb 29, 2016
1 parent 9566d8d commit 92f4119
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ requires perl => '5.008';

requires 'Module::Pluggable', 5.1;
requires 'Monitoring::Plugin' => '0.37';
requires 'Date::Parse'; # tw_cli
requires 'DateTime'; # tw_cli

# not yet
# see https://github.com/glensc/nagios-plugin-check_raid/pull/131#issuecomment-189957806
#requires 'Date::Parse';
#requires 'DateTime';

on 'test' => sub {
requires 'ExtUtils::MakeMaker::CPANfile';
Expand Down
6 changes: 4 additions & 2 deletions lib/App/Monitoring/Plugin/CheckRaid/Plugins/tw_cli.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ package App::Monitoring::Plugin::CheckRaid::Plugins::tw_cli;
# http://www.cyberciti.biz/files/tw_cli.8.html

use base 'App::Monitoring::Plugin::CheckRaid::Plugin';
use Date::Parse qw(strptime);
use DateTime;
# not yet, see:
# https://github.com/glensc/nagios-plugin-check_raid/pull/131#issuecomment-189957806
#use Date::Parse qw(strptime);
#use DateTime;
use strict;
use warnings;

Expand Down

0 comments on commit 92f4119

Please sign in to comment.