mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-24 15:05:36 +00:00
fix issue MN and SN version mismatch checking prevent hard block of functions from executing. #3849 (#3852)
This commit is contained in:
@ -2813,8 +2813,7 @@ sub service_connection {
|
||||
my $myxcatver=xCAT::Version->Version();
|
||||
if($req->{'_xcatver'}->[0] ne $myxcatver){
|
||||
my $myhostname=Sys::Hostname::hostname;
|
||||
my $resp = { warning => ["xCAT Version mismatch! \"$myxcatver\" on $myhostname does not match \"$req->{'_xcatver'}->[0]\" on $peerhost!"]};
|
||||
$resp->{serverdone} = [undef];
|
||||
my $resp = { warning => ["xCAT Version mismatch! \n $myhostname: $myxcatver\n $peerhost: $req->{'_xcatver'}->[0]\n"]};
|
||||
send_response($resp, $sock);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user