Skip to content

Commit

Permalink
Fix the kubermatic cleanup part (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks authored and kubermatic-bot committed Jan 23, 2019
1 parent c541753 commit 7e67fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/run_ci_e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function delete::user {
}

function cleanup {
K8C_USER_ID=$(kubectl get users -o json | jq -r ".items[] | select(.spec.email == \"${KUBERMATIC_DEX_DEV_E2E_USERNAME}\") | .metadata.name")
K8C_USER_ID=$(kubectl get users -o json | jq -r ".items[] | select(.spec.email == \"${KUBERMATIC_DEX_DEV_E2E_USERNAME,,}\") | .metadata.name")

if [[ -z ${K8C_USER_ID} ]]; then
echo "User with email: ${KUBERMATIC_DEX_DEV_E2E_USERNAME} not found in Kubermatic"
Expand Down

0 comments on commit 7e67fce

Please sign in to comment.