[pmg-devel] applied: [PATCH pmg-api v2 2/5] api: statistics: refactor return for detail calls
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Jan 27 09:34:53 CET 2021
On 21.01.21 16:51, Stoiko Ivanov wrote:
> all api methods returning information for a particular sender,
> receiver or contact have similar returns.
>
> This commit pulls the common ones out into a sub like the common method
> parameters in $default_properties.
>
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> v1->v2:
> * keep the common properties in a sub instead of a hash (for consistency
> with $default_properties)
> src/PMG/API2/Statistics.pm | 109 ++++++++++++++-----------------------
> 1 file changed, 40 insertions(+), 69 deletions(-)
>
>
applied, thanks!
More information about the pmg-devel
mailing list