Skip to content

Conversation

@dalebremner
Copy link
Contributor

No description provided.

racadm.runCommand.resolves( "test=SecureBoot=Disabled" );
return helper.request().post('/redfish/v1/Systems/12345678/SecureBoot')
.send({"SecureBootEnable": true})
.expect(202)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

return helper.request().get('/redfish/v1/Systems/12345678/SecureBoot')
.expect('Content-Type', /^application\/json/)
.expect(200)
.expect(function(res) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'res' is defined but never used.

*/
var setSecureBoot = controller(function(req, res) {
var identifier = req.swagger.params.identifier.value;
var options = redfish.makeOptions(req, res, identifier);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'options' is defined but never used.

'set bios.SysSecurity.SecureBoot ' + command
);
})
.then(function(output) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'output' is defined but never used.

@BillyAbildgaard
Copy link

jenkins: depends on RackHD/RackHD#751

swagger: "2.0"
info:
version: "1.1.1"
version: "1.2.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dalebremner I think this should be 1.2.0

Copy link
Contributor

@brianparry brianparry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good. Just one minor comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants