From 19fc53dbbd5a4fd70a7ab673f1d32d2c1f3fc1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Mon, 19 Apr 2021 17:27:19 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A0=EF=B8=8F=20Fix=20warn=20=E2=86=92=20w?= =?UTF-8?q?arning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prepare-vms/lib/infra/aws.sh | 2 +- prepare-vms/lib/infra/hetzner.sh | 4 ++-- prepare-vms/lib/infra/linode.sh | 4 ++-- prepare-vms/lib/infra/scaleway.sh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/prepare-vms/lib/infra/aws.sh b/prepare-vms/lib/infra/aws.sh index 6e0b4ad3..10c95412 100644 --- a/prepare-vms/lib/infra/aws.sh +++ b/prepare-vms/lib/infra/aws.sh @@ -1,5 +1,5 @@ if ! command -v aws >/dev/null; then - warn "AWS CLI (aws) not found." + warning "AWS CLI (aws) not found." fi infra_list() { diff --git a/prepare-vms/lib/infra/hetzner.sh b/prepare-vms/lib/infra/hetzner.sh index bdc29611..ed109b46 100644 --- a/prepare-vms/lib/infra/hetzner.sh +++ b/prepare-vms/lib/infra/hetzner.sh @@ -1,8 +1,8 @@ if ! command -v hcloud >/dev/null; then - warn "Hetzner CLI (hcloud) not found." + warning "Hetzner CLI (hcloud) not found." fi if ! [ -f ~/.config/hcloud/cli.toml ]; then - warn "~/.config/hcloud/cli.toml not found." + warning "~/.config/hcloud/cli.toml not found." fi infra_list() { diff --git a/prepare-vms/lib/infra/linode.sh b/prepare-vms/lib/infra/linode.sh index 8a7630d3..df5a28ef 100644 --- a/prepare-vms/lib/infra/linode.sh +++ b/prepare-vms/lib/infra/linode.sh @@ -1,8 +1,8 @@ if ! command -v linode-cli >/dev/null; then - warn "Linode CLI (linode-cli) not found." + warning "Linode CLI (linode-cli) not found." fi if ! [ -f ~/.config/linode-cli ]; then - warn "~/.config/linode-cli not found." + warning "~/.config/linode-cli not found." fi # To view available regions: "linode-cli regions list" diff --git a/prepare-vms/lib/infra/scaleway.sh b/prepare-vms/lib/infra/scaleway.sh index 71227118..85415e26 100644 --- a/prepare-vms/lib/infra/scaleway.sh +++ b/prepare-vms/lib/infra/scaleway.sh @@ -1,8 +1,8 @@ if ! command -v scw >/dev/null; then - warn "Scaleway CLI (scw) not found." + warning "Scaleway CLI (scw) not found." fi if ! [ -f ~/.config/scw/config.yaml ]; then - warn "~/.config/scw/config.yaml not found." + warning "~/.config/scw/config.yaml not found." fi SCW_INSTANCE_TYPE=${SCW_INSTANCE_TYPE-DEV1-M}