Skip to content

Commit 7066107

Browse files
authored
Merge pull request kubernetes#83117 from zouyee/valid
using short flags instead of validate
2 parents 14e5adf + 11746bc commit 7066107

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hack/make-rules/test-e2e-node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ else
165165
echo 'No need to refresh sudo credentials'
166166
else
167167
echo 'Updating sudo credentials'
168-
sudo --validate || exit 1
168+
sudo -v || exit 1
169169
fi
170170

171171
# Do not use any network plugin by default. User could override the flags with

test/e2e_node/conformance/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ elif sudo --non-interactive "$(which bash)" -c true 2> /dev/null; then
3434
echo 'No need to refresh sudo credentials'
3535
else
3636
echo 'Updating sudo credentials'
37-
sudo --validate || exit 1
37+
sudo -v || exit 1
3838
fi
3939

4040
# FOCUS is ginkgo focus to select which tests to run. By default, FOCUS is

0 commit comments

Comments
 (0)