[pve-devel] applied: Re: [RFC v2 common 1/2] REST environment: add static log_warn function

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Mar 4 11:40:24 CET 2022


On 29/10/2021 13:16, Fabian Ebner wrote:
> which avoids the need for the caller to check whether the environment
> was initialized or not.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> Changes from v1:
>     * The static function now calls the class method, rather than the
>       other way around. If the current environment is a derived class
>       providing its own implementation of warn(), the static function
>       will call that one.
> 
>  src/PVE/RESTEnvironment.pm | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list