Deleting redundant trust creation in workbook uploading mechanism

Change-Id: I9100a8415ad20b9f7572d73ba5a8f0a00a1e0143
Closes-Bug: #1555580
This commit is contained in:
Renat Akhmerov 2016-03-10 18:03:54 +06:00
parent b667e5c5b7
commit d953cc82e6
1 changed files with 0 additions and 3 deletions

View File

@ -16,7 +16,6 @@
from mistral.db.v2 import api as db_api_v2
from mistral.services import actions
from mistral.services import security
from mistral.workbook import parser as spec_parser
@ -94,8 +93,6 @@ def _create_or_update_workflows(wb_db, workflows_spec):
'tags': wf_spec.get_tags()
}
security.add_trust_id(values)
db_api_v2.create_or_update_workflow_definition(wf_name, values)