On 09.04.21 10:44, Fabian Ebner wrote:
> as is already supported by the UI (and PBS).
> 
> A nice bonus is that warn() can be used by both workers and non-workers. For
> workers, the output is redirected/duplicated as set up by {fork,tee}_worker(),
> and non-erroring workers that issued a warning will end in a WARNINGS state.
> 
> Signed-off-by: Fabian Ebner <[email protected]>
> ---
> 
> Changes from v1:
>     * use chomp in warn(), so it can also be called with newline-terminated
>       strings
> 
>  src/PVE/RESTEnvironment.pm | 22 ++++++++++++++++++++--
>  src/PVE/Tools.pm           |  2 ++
>  2 files changed, 22 insertions(+), 2 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to