> The value it adds (and that an underscore would add in hvtype -> > hv_type) is that the name would match the naming style for the vast > majority of everything else in OpenStack. See, for examples:
Agreed. > As mentioned in the review, I disagree on this point, since "doing a > cleanup afterwards" would mean having to increment the > nova.objects.SupportedInstance model VERSION as soon as it went into > master. I say let's make the quick change now and avoid having to write > code like this in the next patchset: > > if client_version <= (1,0): > # We renamed hvtype to hv_type in 1.1 > self.hv_type = fields.get('hvtype') Right, this becomes RPC debt if we think we might change it later. We definitely want to get it right the first time whenever possible. --Dan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev