File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,14 @@ function check_pod_cidr() {
235235}
236236
237237function 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
248248function ping_host_pod() {
@@ -254,7 +254,7 @@ function ping_host_pod() {
254254}
255255
256256function 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=" "
You can’t perform that action at this time.
0 commit comments