2
0
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:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 5a6b851df1
commit 06759062fb

View File

@ -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})) {