Skip to content

Commit

Permalink
Merge pull request #16 from godber/issue-15
Browse files Browse the repository at this point in the history
Change slicers to show all, update dependencies
  • Loading branch information
godber authored Jan 7, 2020
2 parents 69235bd + aa1d584 commit ffedfd8
Show file tree
Hide file tree
Showing 5 changed files with 6,383 additions and 2,052 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ cache:
notifications:
email: false
node_js:
- '12'
- '10'
- '6'
- '4'
before_script:
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const argv = require('yargs')
let ts = new Teraslice(argv._[0], argv.p) // host, port
let requestInterval = argv.t * 1000 // convert seconds to ms

const sections = ['Nodes', 'Workers', 'Slicers', 'Jobs', 'Execution Contexts']
const sections = ['Nodes', 'Workers', 'Controllers', 'Jobs', 'Execution Contexts']

setInterval(function () {
Promise.map(sections, function (section) {
Expand Down
4 changes: 2 additions & 2 deletions lib/teraslice.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ module.exports = function (host, port) {
'url': `${this.baseUrl}/txt/workers${this.param}`,
'value': ''
},
'Slicers': {
'url': `${this.baseUrl}/txt/slicers${this.param}`,
'Controllers': {
'url': `${this.baseUrl}/txt/slicers`,
'value': ''
},
'Jobs': {
Expand Down
Loading

0 comments on commit ffedfd8

Please sign in to comment.