Skip to content

Commit 730a4e3

Browse files
committed
Fix lint build fix.
1 parent b4948e4 commit 730a4e3

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

actions/catalog_node.py

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,9 @@
22

33

44
class ConsulCatalogNodeAction(action.ConsulBaseAction):
5-
def run(
6-
self,
7-
node,
8-
index=None,
9-
wait=None,
10-
consistency=None,
11-
dc=None,
12-
token=None
13-
):
14-
return (True, self.consul.catalog.node(
15-
node,
16-
index=index,
17-
wait=wait,
18-
consistency=consistency,
19-
dc=dc,
20-
token=token
21-
))
5+
def run(self, node, index=None, wait=None, consistency=None, dc=None,
6+
token=None):
7+
node = self.consul.catalog.node(node, index=index, wait=wait,
8+
consistency=consistency, dc=dc,
9+
token=token)
10+
return (True, node)

0 commit comments

Comments
 (0)