From 32ad3e778f0b5976c4165fc33b54ca2cd023cd6c Mon Sep 17 00:00:00 2001 From: andyliuliming Date: Tue, 12 May 2015 12:59:44 +0800 Subject: [PATCH] log should be failure instead of success when download the manifest failed in the failover server. --- waagent | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waagent b/waagent index d95eb78..ab852bb 100644 --- a/waagent +++ b/waagent @@ -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