![]() Do some cleanups to start-kubemark.sh. 1. Add double quotes around variables which are expanded. This is done even on those variables which probably won't have spaces, globs or similar (such as $MASTER_IP) to stay consistent. 2. In one place, change old-type `...` subshell invocation to $(...) to stay consistent through the file. 3. Remove useless echo commands in expressions: FOO=$(echo "$bar") becomes FOO="$bar". 4. In a few places, remove double quotes around variables when an expression is already inside them: the variables would have been effectively unquoted. The last change in the patch changes the printing a bit -- the old way did not print whitespace correctly due to inner echo missing the quotes around it. The change should fix the printout: - echo $(echo "${pods}" | grep -v "Running") + echo "${pods}" | grep -v Running |
||
---|---|---|
.. | ||
common | ||
gce | ||
iks | ||
pre-existing | ||
resources | ||
skeleton | ||
BUILD | ||
cloud-provider-config.sh | ||
configure-kubectl.sh | ||
master-log-dump.sh | ||
OWNERS | ||
run-e2e-tests.sh | ||
start-kubemark.sh | ||
stop-kubemark.sh |