[pbs-devel] applied: [PATCH proxmox-backup 1/2] api2/node/termproxy: fix user in worker task

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Jul 30 11:58:16 CEST 2020


applied this patch

On Mon, Jul 27, 2020 at 08:54:48AM +0200, Dominik Csapak wrote:
> 'username' here is without realm, but we really want to use user at realm
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/api2/node.rs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/api2/node.rs b/src/api2/node.rs
> index b80a661..e6ecc85 100644
> --- a/src/api2/node.rs
> +++ b/src/api2/node.rs
> @@ -137,7 +137,7 @@ async fn termproxy(
>      let upid = WorkerTask::spawn(
>          "termproxy",
>          None,
> -        &username,
> +        &userid,
>          false,
>          move |worker| async move {
>              // move inside the worker so that it survives and does not close the port
> -- 
> 2.20.1





More information about the pbs-devel mailing list