Skip to content

Commit

Permalink
fix(crud-web-apps/jupyter): dict variable reference for `node.status.…
Browse files Browse the repository at this point in the history
…capacity` (kubeflow#7485)

Signed-off-by: mishraprafful <[email protected]>
  • Loading branch information
mishraprafful authored Mar 14, 2024
1 parent e328615 commit bd7f250
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ def get_gpu_vendors():
nodes = api.list_nodes().items
for node in nodes:
if node.status.capacity:
installed_resources.update(status.capacity.keys())
installed_resources.update(node.status.capacity.keys())
else:
log.debug(
"Capacity was not available for node {node.metadata.name}"
f"Capacity was not available for node {node.metadata.name}"
)

# Keep the vendors the key of which exists in at least one node
Expand Down

0 comments on commit bd7f250

Please sign in to comment.