mirror of
https://github.com/clearlinux/WALinuxAgent.git
synced 2026-09-06 05:41:57 +00:00
Merge from branch wire_protocol
Warn and continue if wire protocol is incorrect
This commit is contained in:
@@ -1476,9 +1476,9 @@ class Agent(Util):
|
||||
v = GetNodeTextData(a.getElementsByTagName("Version")[0])
|
||||
Log("Fabric preferred wire protocol version: " + v)
|
||||
if not protocolVersionSeen:
|
||||
Error("Agent supported wire protocol version: " + ProtocolVersion + " was not advertised by Fabric.")
|
||||
return False
|
||||
Log("Negotiated wire protocol version: " + ProtocolVersion)
|
||||
Warn("Agent supported wire protocol version: " + ProtocolVersion + " was not advertised by Fabric.")
|
||||
else:
|
||||
Log("Negotiated wire protocol version: " + ProtocolVersion)
|
||||
return True
|
||||
|
||||
def Unpack(self, buffer, offset, range):
|
||||
|
||||
Reference in New Issue
Block a user