Merge lp:~smoser/cloud-init/trunk.dmidecode-null into lp:~cloud-init-dev/cloud-init/trunk
Proposed by
Scott Moser
on 2016-03-14
| Status: | Merged |
|---|---|
| Merged at revision: | 1181 |
| Proposed branch: | lp:~smoser/cloud-init/trunk.dmidecode-null |
| Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
| Diff against target: |
35 lines (+5/-2) 2 files modified
cloudinit/util.py (+4/-1) tests/unittests/test_util.py (+1/-1) |
| To merge this branch: | bzr merge lp:~smoser/cloud-init/trunk.dmidecode-null |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Dan Watkins | 2016-03-14 | Approve on 2016-03-14 | |
|
Review via email:
|
|||
Commit Message
change return value for dmi data of all \xff to be ""
Previously we returned a string of "." the same length as the dmi field.
That seems confusing to the user as "." would seem like a valid response
when in fact this value should not be considered valid.
So now, in this case, return empty string.
To post a comment you must log in.
lp:~smoser/cloud-init/trunk.dmidecode-null
updated
on 2016-03-14
- 1183. By Scott Moser on 2016-03-14
-
change where we handle the translation
review:
Approve
lp:~smoser/cloud-init/trunk.dmidecode-null
updated
on 2016-03-14
- 1184. By Scott Moser on 2016-03-14
-
strip return of dmidecode and do so before checking for all "."

