[pve-devel] [PATCH manager 1/3] api: ceph: add endpoint to fetch config keys
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Mar 13 17:31:55 CET 2023
Am 13/03/2023 um 13:58 schrieb Aaron Lauterer:
> On 3/11/23 18:07, Thomas Lamprecht wrote:
>> We could add the full
>>
>> cfg/
>> raw
>> db
>> value
>>
>> now already, re-mount the 'cfg/raw' one on the current 'config' (or just keep
>> the code duplicated, not much gain if we remove it anyway) one and then drop that
>> old 'config' one in PVE 8.0; slightly hacky but IMO not that much.
>>
>> Might want to check what other uses of config, cfg, conf, configuration there are
>> in API path's though, as ideally we keep the total unique count of them the same ;-)
>
> AFAICT we basically only have "config" in the API paths according to the API Viewer. So 'cfg' would be something new, not yet used.
> I do like 'cfg' more than 'conf'. Once we dropped support for 'config', we could wait a full major release and then move it back? Not sure but 'cfg' is also only somewhat nice ;)
Ok, so we need to use something new anyway, cfg works out fine for me, we just should
try to remember using that if a move like this needs to be done for some other API
subtree.
Moving then back again just for the sake of purity seems not the best argument, so
I'd rather live with config and cfg then than working through the churn of moving
back again.
More information about the pve-devel
mailing list