From 0cee21e5de6a38408f9e86bb4bc30a84af72985f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 25 Aug 2024 09:43:41 +0200 Subject: [PATCH] Fix logger calls typo lost in refactoring or something --- lib/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common.sh b/lib/common.sh index 0ef61d0..e56b1c4 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -65,14 +65,14 @@ function check_incus_setup() { # Check incus is installed somehow if ! which incus &>/dev/null; then - critical "You need to have Incus installed for ynh-dev to be usable from the host machine. Refer to the README to know how to install it." + log_critical "You need to have Incus installed for ynh-dev to be usable from the host machine. Refer to the README to know how to install it." fi if ! id -nG "$(whoami)" | grep -qw "incus-admin"; then - critical "You need to be in the incus-admin group!" + log_critical "You need to be in the incus-admin group!" fi ip a | grep -q incusbr0 \ - || warn "There is no 'incusbr0' interface... Did you ran 'incus admin init' ?" + || log_warning "There is no 'incusbr0' interface... Did you ran 'incus admin init' ?" set_incus_remote }