Commit e5ce8c2e authored by Chris Hines's avatar Chris Hines
Browse files

remove some unnecessary console.log statements

parent 6a1c5009
Pipeline #15964 passed with stages
in 7 minutes and 18 seconds
......@@ -34,14 +34,12 @@ export class JobsService {
public refreshJobs() {
if (this.id !== undefined && this.id !== null) {
var query$: Observable<Job[]>;
console.log('refreshJobs');
query$ = this.tes.runCommand(this.id, this.id.site.statcmd)
//query$.subscribe((qjobs) => this.jobs$.next(<Job[]>qjobs),
// (error) => this.getJobsError(error,this.id))
query$.pipe(
repeatWhen(x => x.pipe(delay(5000))),
catchError((err) => this.getJobsErrorHandler(err, this.id.site.statcmd, this.id)),
tap((_) => console.log('in refreshJobs' + Date())),
).subscribe((qjobs) => this.jobs$.next(<Job[]>qjobs),
(error) => this.getJobsError(error,this.id))
}
......
......@@ -105,8 +105,8 @@ public getCachetIncidents(identity: Identity) {
let headers = new HttpHeaders();
let options = { headers: headers, withCredentials: false};
let params = new URLSearchParams();
if (identity.site.cacheturis === undefined || identity.site.cacheturis.length == 0) {
console.log('no uris');
identity.systemalerts.next([]);
return
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment