mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-27 14:03:25 +00:00
Remove trailing spaces in file perl-xCAT/xCAT/DBobjUtils.pm
This commit is contained in:
parent
5a6b851df1
commit
06759062fb
@ -1172,10 +1172,10 @@ sub setobjdefs
|
||||
my $pickvalidattr=0;
|
||||
if ($invalidattr->{$att}->{valid} != 1) {
|
||||
my $tt = $invalidattr->{$att}->{valid};
|
||||
#if attribute is set invalid, check if its pre-check attribute exists in group objects, pick the attribute into valid.
|
||||
#if attribute is set invalid, check if its pre-check attribute exists in group objects, pick the attribute into valid.
|
||||
# ex. like if I want to set hdwctrlpoint I will have
|
||||
# to match the right value for mgtmethod
|
||||
# if mgtmethod exists in group objects and its value match the one of only_if value, set hdwctrlpoint valid
|
||||
# to match the right value for mgtmethod
|
||||
# if mgtmethod exists in group objects and its value match the one of only_if value, set hdwctrlpoint valid
|
||||
my $conditionkey=$invalidattr->{$att}->{condition};
|
||||
foreach my $tmpgrp (@tmplgrplist) {
|
||||
if (($DBgroupsattr{$tmpgrp}{$conditionkey}) && ($conditionlist->{$conditionkey} =~ $DBgroupsattr{$tmpgrp}{$conditionkey})) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user