Skip to content

Commit 8e1af36

Browse files
author
Samuel Ortiz
committed
test: Fix networking helpers indentation
Signed-off-by: Samuel Ortiz <[email protected]>
1 parent b645525 commit 8e1af36

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/helpers.bash

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,14 @@ function check_pod_cidr() {
235235
}
236236

237237
function parse_pod_ip() {
238-
for arg
239-
do
240-
cidr=`echo "$arg" | grep $POD_CIDR_MASK`
241-
if [ "$cidr" == "$arg" ]
242-
then
243-
echo `echo "$arg" | sed "s/\/[0-9][0-9]//"`
244-
fi
245-
done
238+
for arg
239+
do
240+
cidr=`echo "$arg" | grep $POD_CIDR_MASK`
241+
if [ "$cidr" == "$arg" ]
242+
then
243+
echo `echo "$arg" | sed "s/\/[0-9][0-9]//"`
244+
fi
245+
done
246246
}
247247

248248
function ping_host_pod() {
@@ -254,7 +254,7 @@ function ping_host_pod() {
254254
}
255255

256256
function ping_pod() {
257-
netns=`ocic pod status --id $1 | grep namespace | cut -d ' ' -f 3`
257+
netns=`ocic pod status --id $1 | grep namespace | cut -d ' ' -f 3`
258258
inet=`ip netns exec \`basename $netns\` ip addr show dev eth0 scope global | grep inet`
259259

260260
IFS=" "

0 commit comments

Comments
 (0)