mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
kata-deploy: snapshotter typo fixes
- Add spaces so that the if statements are valid Fixes: #8720 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user