Removed profile_context from profile_create

A spec may and may not contain a 'context' key, it is not necessary.
This commit is contained in:
tengqm 2015-03-14 11:57:23 +08:00
parent b4d4efbba0
commit 4529dd5531

View File

@ -197,7 +197,6 @@ class EngineService(service.Service):
'spec': spec, 'spec': spec,
'permission': perm, 'permission': perm,
'tags': tags, 'tags': tags,
'profile_context': spec["context"],
} }
profile = plugin(type, name, **kwargs) profile = plugin(type, name, **kwargs)
profile.validate() profile.validate()