mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-15 10:50:28 +00:00
Fixes the test so that rinv options will check both key and key_url
This commit is contained in:
@ -976,7 +976,7 @@ sub rinv_response {
|
||||
foreach my $key (keys %content) {
|
||||
# If not all options is specified, check whether the key string contains
|
||||
# the keyword option. If so, add it to the return data
|
||||
if ($grep_string ne "all" and lc($key) !~ m/$grep_string/i ) {
|
||||
if ($grep_string ne "all" and ((lc($key) !~ m/$grep_string/i) and ($key_url !~ m/$grep_string/i)) ) {
|
||||
next;
|
||||
}
|
||||
$content_info = uc ($src) . " " . $key . " : " . $content{$key};
|
||||
|
Reference in New Issue
Block a user