mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
tests: Add function before function name in common.bash for metrics
This PR adds function before the function name in common.bash script in order to have uniformity across all the script. Fixes #7327 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
eed3c7c046
commit
6e5679bc46
@ -256,7 +256,7 @@ function set_ksm_aggressive()
|
||||
fi
|
||||
}
|
||||
|
||||
restore_virtio_fs(){
|
||||
function restore_virtio_fs(){
|
||||
# Re-enable virtio-fs if it was enabled previously
|
||||
[ -n "${was_virtio_fs}" ] && sudo -E PATH="$PATH" "${LIB_DIR}/../../.ci/set_kata_config.sh" shared_fs virtio-fs || \
|
||||
info "Not restoring virtio-fs since it wasn't enabled previously"
|
||||
|
Loading…
Reference in New Issue
Block a user