drop deprecated mode= for fetch

This commit is contained in:
Christian Hesse 2019-04-09 17:53:48 +02:00
parent 2e10a80f95
commit b93d4d40bc
7 changed files with 8 additions and 8 deletions

View file

@ -130,7 +130,7 @@
:do {
:local Vendor;
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
:set Vendor ([ / tool fetch mode=https check-certificate=yes-without-crl \
:set Vendor ([ / tool fetch check-certificate=yes-without-crl \
("https://api.macvendors.com/" . [ :pick $Mac 0 8 ]) output=user as-value ]->"data");
:return $Vendor;
} on-error={
@ -176,7 +176,7 @@
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
:do {
/ tool fetch mode=https check-certificate=yes-without-crl \
/ tool fetch check-certificate=yes-without-crl \
("https://upgrade.mikrotik.com/routeros/" . $PkgVer . "/" . $PkgFile) \
dst-path=$PkgDest;
} on-error={