[pve-devel] [PATCH] ext5migrate: handle the case when a component's data is in the config object

Dietmar Maurer dietmar at proxmox.com
Mon Aug 3 16:22:46 CEST 2015


> the data property is not available via me.data, but via me.config.data.
> So we need to handle this in the parent class.

So why do we need both cases?

+           data : me.data || me.config.data

Isn't it enough to do:

+           data : me.config.data




More information about the pve-devel mailing list