From 54b21220db28dc4ce34a360d7754add872f702c7 Mon Sep 17 00:00:00 2001 From: Ian Southam Date: Tue, 29 Jul 2014 17:24:07 +0200 Subject: [PATCH] Use json naming standards instead of camelCase --- systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py b/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py index 9aed9444806..44f101448aa 100644 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py @@ -20,8 +20,8 @@ def merge(dbag, ip): if mac == "id": continue for address in dbag[mac]: - if address['publicIp'] == ip['publicIp']: + if address['public_ip'] == ip['public_ip']: dbag[mac].remove(address) if ip['add']: - dbag.setdefault('eth' + str(ip['nicDevId']), []).append( ip ) + dbag.setdefault('eth' + str(ip['nic_dev_id']), []).append( ip ) return dbag