[Nut-upsdev] [RFC] Rename peakcurrent to current.peak

Arnaud Quette aquette.dev at gmail.com
Tue May 15 11:23:16 UTC 2012


2012/5/15 Arnaud Quette <aquette.dev at gmail.com>:
> While reviewing Greg Woods' PATCH 28/36, I realized that our namespace
> use "peakcurrent".
>
> A more coherent name would be "current.peak", as used in Greg's patch
> (well, in the metasys driver to be precise).
> For the time being, only the upscode2 driver is using "peakcurrent".
> But as told, metasys is already using  "current.peak".
>
> So I'm going to convert "peakcurrent" to "current.peak" for 2.6.4.
>
> But as usual, comments and feedback are welcome.

for those interested in, I've committed this to the trunk, r3597:
trac.networkupstools.org/projects/nut/changeset/3597

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsdev mailing list