Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3895 from GabyCT/topic/fixcommonlib
Browse files Browse the repository at this point in the history
ci: Add io.containerd.kata.v2 as a runtime
  • Loading branch information
GabyCT authored Aug 31, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 1d880cd + 09d5d47 commit 29fe43b
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/common.bash
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ trap 'handle_error $LINENO' ERR
# want in reality, but this function knows the names of the default
# and recommended Kata docker runtime install names.
is_a_kata_runtime(){
if [ "$1" = "containerd-shim-kata-v2" ]; then
if [ "$1" = "containerd-shim-kata-v2" ] || [ "$1" = "io.containerd.kata.v2" ]; then
echo "1"
else
echo "0"
2 changes: 1 addition & 1 deletion metrics/lib/json.bash
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ EOF
)"
metrics_json_add_fragment "$json"
else
warning "Unrecognised runtime ${RUNTIME} - no env extracted"
warning "Unrecognised runtime - no env extracted"
fi
fi

0 comments on commit 29fe43b

Please sign in to comment.