yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02828
[Bug 1163598] Re: InstanceMetadata content can be None
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1163598
Title:
InstanceMetadata content can be None
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
`content` can be passed in as None, yet there is no guard for this
case before we iterate over it in a for loop.
The solution is to set content to empty list if `None` is passed in.
This also fixes the fact that we're using a mutable arg as a default,
which is bad practice.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1163598/+subscriptions