Skip to content

Commit 70ade4c

Browse files
Merge pull request #18001 from danwinship/egress-router-indentation
Automatic merge from submit-queue (batch tested with PRs 17856, 16934, 17979, 17993, 18001). Fix indentation in egress-router.sh One clause got misindented in the tabs->spaces migration
2 parents 6b7c437 + 8622953 commit 70ade4c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

images/egress/router/egress-router.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ function setup_network() {
3131
# The pod may die and get restarted; only try to add the
3232
# address/route/rules if they are not already there.
3333
if ! ip route get "${EGRESS_GATEWAY}" | grep -q macvlan0; then
34-
ip addr add "${EGRESS_SOURCE}"/32 dev macvlan0
35-
ip link set up dev macvlan0
34+
ip addr add "${EGRESS_SOURCE}"/32 dev macvlan0
35+
ip link set up dev macvlan0
3636

37-
ip route add "${EGRESS_GATEWAY}"/32 dev macvlan0
38-
ip route del default
39-
ip route add default via "${EGRESS_GATEWAY}" dev macvlan0
37+
ip route add "${EGRESS_GATEWAY}"/32 dev macvlan0
38+
ip route del default
39+
ip route add default via "${EGRESS_GATEWAY}" dev macvlan0
4040
fi
4141

4242
# Update neighbor ARP caches in case another node previously had the IP. (This is

0 commit comments

Comments
 (0)