diff --git a/src/cmd/flux-ion-resource.py b/src/cmd/flux-ion-resource.py index 0586e9eb6..851667d99 100755 --- a/src/cmd/flux-ion-resource.py +++ b/src/cmd/flux-ion-resource.py @@ -234,50 +234,50 @@ def stat_action(_): ) print( "Min. Successful Match Time: ", - json.dumps(resp["match"]["succeeded"]["min-match"]), + json.dumps(resp["match"]["succeeded"]["stats"]["min"]), "Secs", ) print( "Max. Successful Match Time: ", - json.dumps(resp["match"]["succeeded"]["max-match"]), + json.dumps(resp["match"]["succeeded"]["stats"]["max"]), "Secs", ) print( "Avg. Successful Match Time: ", - json.dumps(resp["match"]["succeeded"]["avg-match"]), + json.dumps(resp["match"]["succeeded"]["stats"]["avg"]), "Secs", ) print( "Successful Match Variance: ", - json.dumps(resp["match"]["succeeded"]["match-variance"]), + json.dumps(resp["match"]["succeeded"]["stats"]["variance"]), "Secs^2", ) print( "Num. of Jobs with Failed Matches: ", - json.dumps(resp["match"]["failed"]["njobs-failed"]), + json.dumps(resp["match"]["failed"]["njobs"]), ) print( "Num. of Jobs with Failed Matches Since Reset: ", - json.dumps(resp["match"]["failed"]["njobs-reset-failed"]), + json.dumps(resp["match"]["failed"]["njobs-reset"]), ) print( "Min. Match Time of Failed Matches: ", - json.dumps(resp["match"]["failed"]["min-match-failed"]), + json.dumps(resp["match"]["failed"]["stats"]["min"]), "Secs", ) print( "Max. Match Time of Failed Matches: ", - json.dumps(resp["match"]["failed"]["max-match-failed"]), + json.dumps(resp["match"]["failed"]["stats"]["max"]), "Secs", ) print( "Avg. Match Time of Failed Matches: ", - json.dumps(resp["match"]["failed"]["avg-match-failed"]), + json.dumps(resp["match"]["failed"]["stats"]["avg"]), "Secs", ) print( "Match Variance of Failed Matches: ", - json.dumps(resp["match"]["failed"]["match-variance-failed"]), + json.dumps(resp["match"]["failed"]["stats"]["variance"]), "Secs^2", )