-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional data to node discovered event #537
Conversation
|
||
return self._getHwInfoCatalog() | ||
.then(function(dmi) { | ||
var hwInfo = dmi['System Information'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
}).then(function (catalog) { | ||
if (!catalog) { | ||
return Promise.reject( | ||
new Error('Could not find dmi catalog data.')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@keedya mentioned in slack we probably don't want to fail here if the data isn't available. I can clean this up tomorrow to make sure missing catalog data doesn't fail this job.
3df9edc
to
3b01e05
Compare
Include the serial number, manufacturer and product from the dmi catalog.
3b01e05
to
d630b94
Compare
@keedya updated this with better error handling and a test. |
@gavin-scott looks good. Will run our system testing and run it by the team. |
Adding more reviewere: |
Include the serial number, manufacturer and product from the
dmi catalog.