We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf6a1c8 commit c83b4f1Copy full SHA for c83b4f1
services/rabbit/.operations.Makefile
@@ -14,7 +14,7 @@ define create_node_stack_name
14
rabbit-node0$(1)
15
endef
16
17
-guard-positive-single-digit-integer-NODE_COUNT: guard-NODE_COUNT
+validate-NODE_COUNT: guard-NODE_COUNT
18
@if ! echo "$(NODE_COUNT)" | grep --quiet --extended-regexp '^[1-9]$$'; then \
19
echo NODE_COUNT must be a positive single digit integer; \
20
exit 1; \
@@ -61,7 +61,7 @@ stop-loadbalancer:
61
# Rabbit all Nodes together
62
#
63
64
-.start-all-nodes: guard-positive-single-digit-integer-NODE_COUNT
+.start-all-nodes: validate-NODE_COUNT
65
@i=1; \
66
while [ $$i -le $(NODE_COUNT) ]; do \
67
$(MAKE) start-node0$$i; \
0 commit comments