From 543b428d014450f2258d2708c07ee8ff2cc990ca Mon Sep 17 00:00:00 2001 From: Lukas Lowinger Date: Wed, 30 Sep 2020 10:03:26 +0200 Subject: [PATCH] [fix] Use in-place editing --- e2e/yaks/monitoring/obtainToken.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/yaks/monitoring/obtainToken.sh b/e2e/yaks/monitoring/obtainToken.sh index 74f7d9088f..86c81cd323 100755 --- a/e2e/yaks/monitoring/obtainToken.sh +++ b/e2e/yaks/monitoring/obtainToken.sh @@ -4,4 +4,4 @@ SOURCE_DIR=$( dirname "${BASH_SOURCE[0]}") TEST_FILE="${SOURCE_DIR}/metrics.feature" TOKEN=`kubectl config view --minify --output 'jsonpath={..token}'` -sed "s/TOKEN/${TOKEN}/g" "${TEST_FILE}" \ No newline at end of file +sed -i -e "s/TOKEN/${TOKEN}/g" "${TEST_FILE}" \ No newline at end of file