...
|
...
|
@@ -21,9 +21,10 @@ var tracer = new Trace({ |
|
|
});
|
|
|
|
|
|
class Collect {
|
|
|
constructor(host, projectname) {
|
|
|
constructor(host, projectname, cloud) {
|
|
|
this.host = host;
|
|
|
this.projectname = projectname;
|
|
|
this.cloud = cloud;
|
|
|
this.scriptRunning = false;
|
|
|
this.retry = {};
|
|
|
}
|
...
|
...
|
@@ -39,6 +40,7 @@ class Collect { |
|
|
}
|
|
|
|
|
|
let obj = {
|
|
|
'cloud': self.cloud,
|
|
|
'total': 0,
|
|
|
'status': {}
|
|
|
};
|
...
|
...
|
|