All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 198e269f authored by David Johnson's avatar David Johnson

Move an RPC outside a DB transaction.

(This wasn't hurting anything, but I suppose it could have.)
parent d7c854a9
Pipeline #1892 passed with stage
in 2 seconds
......@@ -142,12 +142,13 @@ class CapnetDBMixin(agents_db.AgentDbMixin):
LOG.debug("notifying capnet agent on %s : wfagent_create"
% (host,))
pass
# Notify our agent that it needs to create a port, or learn
# about an existing port, and update the capnet binding once
# it does that.
self._capnet_ext_agent_api.wfagent_create(context,wfagent,host)
pass
# Notify our agent that it needs to create a port, or learn
# about an existing port, and update the capnet binding once
# it does that.
self._capnet_ext_agent_api.wfagent_create(context,wfagent,host)
pass
def _wfagent_delete(self,context,wfagent):
session = context.session
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment