Re-indenting ufw-docker--allow
This commit is contained in:
parent
afd62aa96b
commit
97543811ea
@ -77,7 +77,6 @@ function ufw-docker--allow() {
|
|||||||
if [[ -n "$NETWORK" ]] && [[ "$NETWORK" != "$INSTANCE_NETWORK" ]]; then
|
if [[ -n "$NETWORK" ]] && [[ "$NETWORK" != "$INSTANCE_NETWORK" ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ufw-docker--add-rule "$INSTANCE_NAME" "$IP" "${PORT_PROTO%/*}" "${PORT_PROTO#*/}" "${INSTANCE_NETWORK}"
|
ufw-docker--add-rule "$INSTANCE_NAME" "$IP" "${PORT_PROTO%/*}" "${PORT_PROTO#*/}" "${INSTANCE_NETWORK}"
|
||||||
RETVAL="$?"
|
RETVAL="$?"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user