mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Fix shellcheck lint errors in test/kubemark/master-log-dump.sh
This commit is contained in:
parent
cb59cb33ff
commit
f72ac1f5b7
@ -145,7 +145,6 @@
|
|||||||
./test/images/volume/rbd/create_block.sh
|
./test/images/volume/rbd/create_block.sh
|
||||||
./test/images/volume/rbd/mon.sh
|
./test/images/volume/rbd/mon.sh
|
||||||
./test/images/volume/rbd/osd.sh
|
./test/images/volume/rbd/osd.sh
|
||||||
./test/kubemark/master-log-dump.sh
|
|
||||||
./test/kubemark/resources/start-kubemark-master.sh
|
./test/kubemark/resources/start-kubemark-master.sh
|
||||||
./test/kubemark/run-e2e-tests.sh
|
./test/kubemark/run-e2e-tests.sh
|
||||||
./test/kubemark/start-kubemark.sh
|
./test/kubemark/start-kubemark.sh
|
||||||
|
@ -15,12 +15,12 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
REPORT_DIR="${1:-_artifacts}"
|
REPORT_DIR="${1:-_artifacts}"
|
||||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
|
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
|
||||||
|
|
||||||
source ${KUBE_ROOT}/test/kubemark/cloud-provider-config.sh
|
source "${KUBE_ROOT}/test/kubemark/cloud-provider-config.sh"
|
||||||
source ${KUBE_ROOT}/cluster/kubemark/${CLOUD_PROVIDER}/config-default.sh
|
source "${KUBE_ROOT}/cluster/kubemark/${CLOUD_PROVIDER}/config-default.sh"
|
||||||
|
|
||||||
export KUBEMARK_MASTER_NAME="${MASTER_NAME}"
|
export KUBEMARK_MASTER_NAME="${MASTER_NAME}"
|
||||||
|
|
||||||
echo "Dumping logs for kubemark master: ${KUBEMARK_MASTER_NAME}"
|
echo "Dumping logs for kubemark master: ${KUBEMARK_MASTER_NAME}"
|
||||||
DUMP_ONLY_MASTER_LOGS=true ${KUBE_ROOT}/cluster/log-dump/log-dump.sh "${REPORT_DIR}"
|
DUMP_ONLY_MASTER_LOGS=true "${KUBE_ROOT}/cluster/log-dump/log-dump.sh" "${REPORT_DIR}"
|
||||||
|
Loading…
Reference in New Issue
Block a user