Skip to content

Commit

Permalink
Merge 86df197 into 3667ed9
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaricChan committed Dec 1, 2017
2 parents 3667ed9 + 86df197 commit 2ea6423
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions lib/api/redfish-1.0/update-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,10 @@ var updateFirmware = controller({success: 201}, function (req, res) {
.then(function () {
return workflow.createAndRunGraph(
{
name: 'Graph.Dell.Racadm.Update.Firmware',
name: 'Graph.Dell.Wsman.Simple.Update.Firmware',
options: {
defaults: {
serverUsername: '',
serverPassword: '',
serverFilePath: payload.ImageURI
imageURI: payload.ImageURI
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/redfish-1.0/update-service-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Redfish Update Service', function () {
];
var badPayload = {"junk": "junk"};
var goodPayload = {
"ImageURI": "/home/rackhd/tmp/installer.exe",
"ImageURI": "http://192.111.111.111/installer.exe",
"Targets": ["58a4799ebaaafbe005dd0bc6"]
};
var mockNode = {id: '58a4799ebaaafbe005dd0bc6', type: 'compute'};
Expand Down

0 comments on commit 2ea6423

Please sign in to comment.