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:
parent
b4d4efbba0
commit
4529dd5531
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user