Skip to content

Commit

Permalink
Merge pull request #8721 from stevenhorsman/kata-deploy-typos
Browse files Browse the repository at this point in the history
kata-deploy: snapshotter typo fixes
  • Loading branch information
stevenhorsman committed Dec 22, 2023
2 parents 555136c + 4a95c0d commit 1afce09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/packaging/kata-deploy/scripts/kata-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -473,11 +473,11 @@ function snapshotter_handler_mapping_validation_check() {
shim="${m%$snapshotters_delimiter*}"
snapshotter="${m#*$snapshotters_delimiter}"

if [ -z "$shim"]; then
if [ -z "$shim" ]; then
die "The snapshotter must follow the \"shim:snapshotter,shim:snapshotter,...\" format, but at least one shim is empty"
fi

if [ -z "$snapshotter"]; then
if [ -z "$snapshotter" ]; then
die "The snapshotter must follow the \"shim:snapshotter,shim:snapshotter,...\" format, but at least one snapshotter is empty"
fi

Expand Down

0 comments on commit 1afce09

Please sign in to comment.