Skip to content

Commit 8416e93

Browse files
mikebrowestesp
authored andcommitted
change crictl sandboxes to pods; other references to sandboxes
Signed-off-by: Mike Brown <[email protected]>
1 parent 23bd036 commit 8416e93

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

contrib/health-monitor.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ CHECK_PERIOD=${CHECK_PERIOD:-10}
2828
SLEEP_SECONDS=${SLEEP_SECONDS:-120}
2929

3030
while true; do
31-
# Use crictl sandboxes because it requires both containerd and
31+
# Use crictl pods because it requires both containerd and
3232
# cri-containerd to be working.
33-
if ! timeout ${COMMAND_TIMEOUT} ${CRICTL} sandboxes > /dev/null; then
34-
echo "crictl sandboxes timeout!"
33+
if ! timeout ${COMMAND_TIMEOUT} ${CRICTL} pods > /dev/null; then
34+
echo "crictl pods timeout!"
3535
pkill containerd
3636
pkill cri-containerd
3737
# Wait for a while, as we don't want to kill it again before it is really up.

0 commit comments

Comments
 (0)