Closed lhl2617 closed 3 years ago
@kawmarco has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@kawmarco has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@kawmarco merged this pull request in facebook/openbmc@05b652c061b5fbe964e12a34f6c94d0ea856856f.
Summary
GetMTDMapFromSpecifier
would require the user to access the regex results using string keys, which is not ideal. Return instead a newMtdInfo
struct that can be accessed safely.Test plan
Unit tests pass. (
go test ./...
)