mirror of
https://github.com/clearlinux/WALinuxAgent.git
synced 2026-09-06 22:01:34 +00:00
log should be failure instead of success when download the manifest failed in the failover server.
This commit is contained in:
@@ -3345,8 +3345,8 @@ class ExtensionsConfig(object):
|
||||
#if failoverlocation also fail what to do then?
|
||||
if manifest == None:
|
||||
AddExtensionEvent(name,WALAEventOperation.Download,False,0,version,"Download mainfest fail "+failoverlocation)
|
||||
Log("Plugin manifest" + name + "downloaded successfully length = " + str(len(manifest)))
|
||||
SimpleLog(p.plugin_log,"Plugin manifest" + name + "downloaded successfully length = " + str(len(manifest)))
|
||||
Log("Plugin manifest " + name + " dowloading failed from failover location.")
|
||||
SimpleLog(p.plugin_log,"Plugin manifest " + name + " downloading failed from failover location.")
|
||||
|
||||
filepath=LibDir+"/" + name + '.' + incarnation + '.manifest'
|
||||
if os.path.splitext(location)[-1] == '.xml' : #if this is an xml file we may have a BOM
|
||||
|
||||
Reference in New Issue
Block a user