Merge pull request #8721 from stevenhorsman/kata-deploy-typos

kata-deploy: snapshotter typo fixes
This commit is contained in:
Steve Horsman 2023-12-22 21:26:03 +00:00 committed by GitHub
commit 1afce09858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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