Skip to content

Commit

Permalink
Fix hound warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nortonluo committed Apr 2, 2018
1 parent 6304f62 commit 87fb356
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/jobs/dell-wsman-update-lookups.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ function updateWsmanLookupsJobFactory(
return Promise.reject(new Error('Could not found nic mac in SMI inventory!'));}
return _.map(smiNicData.data, function(item){
return waterline.lookups.upsertNodeToMacAddress(self.nodeId, item.currentMACAddress);
})
});
})
.then(function() {
return self._done();
})
.catch(function(err){
self._done(err);
});
self._done();
};
return UpdateWsmanLookupsJob;
}

0 comments on commit 87fb356

Please sign in to comment.