From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id DAE4764548 for ; Mon, 20 Jul 2020 10:23:03 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D78C7B45E for ; Mon, 20 Jul 2020 10:23:03 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 1D339B454 for ; Mon, 20 Jul 2020 10:23:03 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id DE8A040B01 for ; Mon, 20 Jul 2020 10:23:02 +0200 (CEST) Date: Mon, 20 Jul 2020 10:22:56 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20200717133917.4621-1-d.csapak@proxmox.com> <20200717133917.4621-2-d.csapak@proxmox.com> In-Reply-To: <20200717133917.4621-2-d.csapak@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1595233369.irazttdqko.astroid@nora.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.087 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] applied: [PATCH proxmox-backup 2/2] examples/upload-speed: adapt to change X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2020 08:23:03 -0000 On July 17, 2020 3:39 pm, Dominik Csapak wrote: > commit 323b2f3dd6364119f2ffcd7397161e9f56cdb3fc > changed the signature of upload_speedtest > adapt the example >=20 > Signed-off-by: Dominik Csapak > --- > examples/upload-speed.rs | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/examples/upload-speed.rs b/examples/upload-speed.rs > index b438c49..8594d6e 100644 > --- a/examples/upload-speed.rs > +++ b/examples/upload-speed.rs > @@ -2,7 +2,7 @@ use anyhow::{Error}; > =20 > use proxmox_backup::client::*; > =20 > -async fn upload_speed() -> Result { > +async fn upload_speed() -> Result { > =20 > let host =3D "localhost"; > let datastore =3D "store2"; > @@ -20,7 +20,7 @@ async fn upload_speed() -> Result { > let client =3D BackupWriter::start(client, None, datastore, "host", = "speedtest", backup_time, false).await?; > =20 > println!("start upload speed test"); > - let res =3D client.upload_speedtest().await?; > + let res =3D client.upload_speedtest(true).await?; > =20 > Ok(res) > } > --=20 > 2.20.1 >=20 >=20 >=20 > _______________________________________________ > pbs-devel mailing list > pbs-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel >=20 >=20 >=20 =