mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
change lanename from com to master
This commit is contained in:
parent
938e517695
commit
359bbfff09
@ -50,9 +50,12 @@ class LocalClient(salt.client.LocalClient):
|
||||
timeout=5,
|
||||
**kwargs)
|
||||
yid = salt.utils.gen_jid()
|
||||
stack = stacking.StackUxd(yid=yid, lanename='com', dirpath=self.opts['sock_dir'])
|
||||
stack = stacking.StackUxd(
|
||||
yid=yid,
|
||||
lanename='master',
|
||||
dirpath=self.opts['sock_dir'])
|
||||
router_yard = yarding.Yard(
|
||||
prefix='com',
|
||||
prefix='master',
|
||||
yid=0,
|
||||
dirpath=self.opts['sock_dir'])
|
||||
stack.addRemoteYard(router_yard)
|
||||
|
@ -65,7 +65,7 @@ class UxdRouter(ioflo.base.deeding.Deed): # pylint: disable=W0232
|
||||
'''
|
||||
self.stack.value = stacking.StackUxd(
|
||||
name='router',
|
||||
lanename='com',
|
||||
lanename='master',
|
||||
yid=0,
|
||||
dirpath=self.opts.value['sock_dir'])
|
||||
self.event_yards.value = set()
|
||||
@ -81,7 +81,7 @@ class UxdRouter(ioflo.base.deeding.Deed): # pylint: disable=W0232
|
||||
try:
|
||||
ev_yard = yarding.Yard(
|
||||
yid=msg['load']['yid'],
|
||||
prefix='com',
|
||||
prefix='master',
|
||||
dirpath=msg['load']['dirpath'])
|
||||
except Exception:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user