fixed the compiling error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12056 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
23a37e993d
commit
29ce8ffd81
@ -42,7 +42,8 @@ sub check_dhcp {
|
||||
}
|
||||
|
||||
sub _slow_get_tftpdir { #make up for paths where tftpdir is not passed in
|
||||
my $nrtab = = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
my $node = shift;
|
||||
my $nrtab = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
unless ($nrtab) { return $globaltftpdir; }
|
||||
my $ent = $nrtab->getNodeAttribs($node,["tftpdir"]);
|
||||
if ($ent and $ent->{tftpdir}) {
|
||||
|
@ -43,7 +43,8 @@ sub check_dhcp {
|
||||
}
|
||||
|
||||
sub _slow_get_tftpdir { #make up for paths where tftpdir is not passed in
|
||||
my $nrtab = = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
my $node=shift;
|
||||
my $nrtab = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
unless ($nrtab) { return $globaltftpdir; }
|
||||
my $ent = $nrtab->getNodeAttribs($node,["tftpdir"]);
|
||||
if ($ent and $ent->{tftpdir}) {
|
||||
|
@ -44,7 +44,8 @@ sub check_dhcp {
|
||||
}
|
||||
|
||||
sub _slow_get_tftpdir { #make up for paths where tftpdir is not passed in
|
||||
my $nrtab = = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
my $node = shift;
|
||||
my $nrtab = xCAT::Table->new('noderes',-create=>0); #in order to detect per-node tftp directories
|
||||
unless ($nrtab) { return $globaltftpdir; }
|
||||
my $ent = $nrtab->getNodeAttribs($node,["tftpdir"]);
|
||||
if ($ent and $ent->{tftpdir}) {
|
||||
|
Loading…
Reference in New Issue
Block a user