mirror of
https://github.com/clearlinux/WALinuxAgent.git
synced 2026-08-22 05:56:04 +00:00
Fix bug in json logic
This commit is contained in:
@@ -2680,7 +2680,7 @@ class ExtensionsConfig(object):
|
||||
else :
|
||||
jsn= json.loads(manifest)
|
||||
if jsn.has_key('handlerManifest') :
|
||||
cmd = jsn.[handlerManifest]['installCommand']
|
||||
cmd = jsn[handlerManifest]['installCommand']
|
||||
else :
|
||||
Error('Key handlerManifest not found. Handler cannot be installed.')
|
||||
if len(cmd) == 0 :
|
||||
|
||||
Reference in New Issue
Block a user