Skip to content

Commit

Permalink
fix type linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
pgm committed Oct 30, 2023
1 parent 8654678 commit dfb2af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/sparklespray/cluster_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def get_summary(self, completion_rate=Optional[float]) -> str:
msg = f"tasks: {task_status}, worker nodes: {node_status}"
if completion_rate:
incomplete_task_count = self.get_incomplete_task_count()
remaining_estimate_in_seconds = incomplete_task_count/completion_rate
remaining_estimate_in_seconds = float(incomplete_task_count)/completion_rate
msg += f", eta: {(remaining_estimate_in_seconds/60):.1f} minutes to complete remaining {incomplete_task_count} tasks"
return msg

Expand Down

0 comments on commit dfb2af6

Please sign in to comment.