DMTF/Redfish-Mockup-Creator

Undefined ‘ref’ variable in error path

Closed this issue · 1 comments

When running the mockup creator against systems at Plugfest 2018, I hit an exception due to an undefined variable 'ref' at line 430:

    rft.printErr("ERROR: cant parse /redfish/v1/$metadata, cannot scrape the metadata for xml".format(str(ref.tag)))

The .format() in the line isn't needed at all. It's probably left over from a copy-and-paste.

Resolved in latest PR