Skip to content

Commit

Permalink
Rename force_config to reapply_config
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeagherix committed Jul 25, 2024
1 parent dac97c4 commit 3e1d6c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/middlewared/middlewared/plugins/jbof/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ async def do_delete(self, id_, force):
return response

@accepts()
async def force_config(self):
async def reapply_config(self):
"""
Force the JBOF configuration to attached JBOFs.
Reapply the JBOF configuration to attached JBOFs.
If an IOM is replaced in a JBOF, then it is expected to be configured to have
the same redfish IP, user & password as was previously the case.
Expand All @@ -264,7 +264,7 @@ async def force_config(self):
"""
verrors = ValidationErrors()
await self.middleware.call('jbof.hardwire_shelves')
await self.middleware.call('jbof.attach_drives', 'jbof.force_config', verrors)
await self.middleware.call('jbof.attach_drives', 'jbof.reapply_config', verrors)
verrors.check()

@private
Expand Down

0 comments on commit 3e1d6c4

Please sign in to comment.