log should be failure instead of success when download the manifest failed in the failover server.

This commit is contained in:
andyliuliming
2015-05-12 12:59:44 +08:00
parent 7f5a047a7e
commit 32ad3e778f
+2 -2
View File
@@ -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