From d41ff20d7b9102b9b3efa3f9c3c4fd65d64e4bce Mon Sep 17 00:00:00 2001 From: Leon <82407168+sed-i@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:27:03 -0500 Subject: [PATCH] Update charmcraft.yaml --- charmcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charmcraft.yaml b/charmcraft.yaml index c9342d9..ef804c9 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -22,11 +22,11 @@ parts: override-pull: | if [ $CRAFT_TARGET_ARCH == "amd64" ]; then URI=https://github.com/canonical/nrpe_exporter/releases/latest/download/nrpe_exporter-amd64 + curl -L $URI -o nrpe_exporter-amd64 elif [ $CRAFT_TARGET_ARCH == "arm64" ] || [ $CRAFT_TARGET_ARCH == "aarch64" ]; then URI=https://github.com/canonical/nrpe_exporter/releases/latest/download/nrpe_exporter-arm64 + curl -L $URI -o nrpe_exporter-aarch64 fi - - curl -L $URI -o nrpe_exporter-aarch64 vector: plugin: dump source: .