Merge remote-tracking branch 'upstream/1.1'
This commit is contained in:
commit
98e8ef4e11
1 file changed
+1
-1
@@ -914,7 +914,7 @@ ipam_cidrs() {
|
|||||||
# If no addresses passed in, get one in the default subnet
|
# If no addresses passed in, get one in the default subnet
|
||||||
IPAM_CIDRS=$(call_weave POST /ip/$CONTAINER_ID$CHECK_ALIVE) || return 1
|
IPAM_CIDRS=$(call_weave POST /ip/$CONTAINER_ID$CHECK_ALIVE) || return 1
|
||||||
if [ "$IPAM_CIDRS" = "404 page not found" ] ; then
|
if [ "$IPAM_CIDRS" = "404 page not found" ] ; then
|
||||||
echo "No IP address supplied (use the -iprange option on 'weave launch' to enable IP address allocation)" >&2
|
echo "No IP address supplied and IP address allocation is disabled" >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
ALL_CIDRS="$IPAM_CIDRS"
|
ALL_CIDRS="$IPAM_CIDRS"
|
||||||
|
|||||||
Reference in new issue
Block a user