Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
disable metric error messages due to excessive msgs in ops
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatoriu committed Oct 30, 2020
1 parent 3f9293c commit c3aecba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dps_info/src/jobinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,16 @@ export class JobTable extends Widget {
let json_response:any = res.json();

if (json_response['status_code'] === 200) {
INotification.success("Get user job metrics success.");
//INotification.success("Get user job metrics success.");
this._metrics = json_response['result'];
} else {
console.log('get user job result != 200');
INotification.error("Get user job metrics failed.");
//INotification.error("Get user job metrics failed.");
this._results = '<p> Retrieving '+this._job_id+' metrics got'+json_response['status_code']+'</p>';
}
} else {
console.log('unable to get user job metrics');
INotification.error("Get user job metrics failed.");
//INotification.error("Get user job metrics failed.");
}
}
this._updateJobMetrics();
Expand Down Expand Up @@ -994,16 +994,16 @@ export class JobWidget extends Widget {
let json_response:any = res.json();

if (json_response['status_code'] === 200) {
INotification.success("Get user job metrics success.");
//INotification.success("Get user job metrics success.");
this._metrics = json_response['result'];
} else {
console.log('get user job metrics != 200');
INotification.error("Get user job metrics failed.");
//INotification.error("Get user job metrics failed.");
this._metrics = '<p> Retrieving '+this._job_id+' result got'+json_response['status_code']+'</p>';
}
} else {
console.log('unable to get user job metrics');
INotification.error("Get user job metrics failed.");
//INotification.error("Get user job metrics failed.");
}
}
this._updateJobMetrics();
Expand Down

0 comments on commit c3aecba

Please sign in to comment.