~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 1181.

  • Committer: Scott Moser
  • Date: 2016-03-14 13:45:11 UTC
  • mfrom: (1179.1.5 trunk.dmidecode-null)
  • Revision ID: smoser@ubuntu.com-20160314134511-2bjp7upczlqae0h8
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: