Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mharding-hpe committed Dec 17, 2024
1 parent f540998 commit d07355a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bos/operators/power_on.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _act(self, components: Union[List[dict], None]):
raise Exception(
f"Error encountered setting BSS information: {e}") from e
try:
self.client.cfs.set_cfs(components, enabled=False, clear_state=True)
self.client.cfs.components.set_cfs(components, enabled=False, clear_state=True)
except Exception as e:
raise Exception(
f"Error encountered setting CFS information: {e}") from e
Expand Down
2 changes: 1 addition & 1 deletion src/bos/operators/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _get_cfs_components(self):
that was longer than uwsgi could handle when the number of nodes was very large.
Requesting all components means none need to be specified in the request.
"""
cfs_data = self.client.cfs.get_components()
cfs_data = self.client.cfs.components.get_components()
cfs_states = {}
for component in cfs_data:
cfs_states[component['id']] = component
Expand Down

0 comments on commit d07355a

Please sign in to comment.