Skip to content

Commit

Permalink
fix(sun-mgmt): the default plink command was not applied
Browse files Browse the repository at this point in the history
It made tests fail on connectors worflow.

Refs: CTOR-1197
  • Loading branch information
omercier committed Dec 27, 2024
1 parent f1ab4d9 commit 303e008
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/hardware/server/sun/mgmt_cards/mode/showfaults.pm
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ sub check_options {
command => $self->{option_results}->{command_plink}
);

$self->{option_results}->{command} = 'plink'
if (!defined($self->{option_results}->{command}) || $self->{option_results}->{command} eq '');
$self->{option_results}->{command_plink} = 'plink'
if (!defined($self->{option_results}->{command_plink}) || $self->{option_results}->{command_plink} eq '');
}

sub run {
Expand Down Expand Up @@ -132,25 +132,25 @@ __END__
=head1 MODE
Check Sun 'T1xxx', 'T2xxx' Hardware (through ALOM4v).
Check Sun C<T1xxx>, C<T2xxx> management cards hardware (using C<ALOM4v>).
=over 8
=item B<--hostname>
Hostname to query.
Define the hostname to query.
=item B<--username>
ssh username.
Define the ssh username.
=item B<--password>
ssh password.
Define the ssh password.
=item B<--command-plink>
Plink command (default: plink). Use to set a path.
Define the C<plink> command (default: C<plink>).
=item B<--timeout>
Expand Down

0 comments on commit 303e008

Please sign in to comment.