Skip to content

Commit

Permalink
Report hours, not seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jul 29, 2024
1 parent 27c5614 commit 482039b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egi_notebooks_accounting/eosc.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def update_pod_metric(pod, metrics, flavor_config):
user_metrics = metrics.get((user, group), {})
flavor_metric = flavor_config[pod.flavor]
flavor_metric_value = user_metrics.get(flavor_metric, 0)
user_metrics[flavor_metric] = flavor_metric_value + pod.wall
user_metrics[flavor_metric] = flavor_metric_value + (pod.wall / (60 * 60))
metrics[(user, group)] = user_metrics


Expand Down

0 comments on commit 482039b

Please sign in to comment.