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: .