Revision e687ec01 lib/watcher/nodemaint.py
b/lib/watcher/nodemaint.py | ||
---|---|---|
131 | 131 |
|
132 | 132 |
""" |
133 | 133 |
my_name = netutils.Hostname.GetSysName() |
134 |
req = confd.client.ConfdClientRequest(type=
|
|
135 |
constants.CONFD_REQ_NODE_ROLE_BYNAME,
|
|
136 |
query=my_name)
|
|
134 |
req = \
|
|
135 |
confd.client.ConfdClientRequest(type=constants.CONFD_REQ_NODE_ROLE_BYNAME,
|
|
136 |
query=my_name) |
|
137 | 137 |
self.confd_client.SendRequest(req, async=False, coverage=-1) |
138 | 138 |
timed_out, _, _ = self.confd_client.WaitForReply(req.rsalt) |
139 | 139 |
if not timed_out: |
Also available in: Unified diff