This commit is contained in:
qgarnier 2020-10-29 09:14:21 +01:00 committed by GitHub
parent f8ba636059
commit d1c1cfaf19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ sub run {
my ($stdout) = $options{custom}->execute_command(
command => 'crm_resource',
command_path => '/usr/sbin',
command_options => '--constraints -r'
command_options => '--constraints -r ' . $self->{option_results}->{resource}
);
$self->parse_output(output => $stdout);
@ -113,7 +113,7 @@ __END__
Check that a resource has no location constraint (migrate without unmigrate)
Can be executed from any cluster node.
Command used: /usr/sbin/crm_resource --constraints -r
Command used: /usr/sbin/crm_resource --constraints -r resource_name
=over 8