← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~akaris/cloud-init:bug1684349 into cloud-init:master

 

The proposal to merge ~akaris/cloud-init:bug1684349 into cloud-init:master has been updated.

Commit Message changed to:

Fix mask2cidr error with integer value

mask2cidr error with integer value - argument of type 'int' is not iterable. Method mask2cidr is not type safe. It tries to take into account that this can be a prefix (so it does not contain ':' nor '.') and then simly return mask without action. The problem is that if mask is an integer, then this throws an error, so this patch casts mask to type string in the if/elif.

LP: 1684349

For more details, see:
https://code.launchpad.net/~akaris/cloud-init/+git/cloud-init/+merge/322992
-- 
Your team cloud init development team is requested to review the proposed merge of ~akaris/cloud-init:bug1684349 into cloud-init:master.


References