Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
➜ team-unknown git:(master) ✗ jitsu databases create redis sentineldb
info: Welcome to Nodejitsu nko3-team-unknown
info: jitsu v0.10.5, node v0.8.14
info: It worked if it ends with Nodejitsu ok
info: Executing command databases create redis sentineldb
info: A new redis has been created
/Users/shripadk/node/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:320
server = database.metadata.label.split('-')[0] + '.redistogo.com';
^
TypeError: Cannot call method 'split' of undefined
at printDatabase (/Users/shripadk/node/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:320:44)
at databases.get (/Users/shripadk/node/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:201:7)
at Databases.get (/Users/shripadk/node/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/databases.js:55:7)
at Request.Client.request [as _callback] (/Users/shripadk/node/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/client.js:110:5)
at Request.init.self.callback (/Users/shripadk/node/lib/node_modules/jitsu/node_modules/request/main.js:120:22)
at Request.EventEmitter.emit (events.js:99:17)
at Request.<anonymous> (/Users/shripadk/node/lib/node_modules/jitsu/node_modules/request/main.js:555:16)
at Request.EventEmitter.emit (events.js:96:17)
at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/Users/shripadk/node/lib/node_modules/jitsu/node_mod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.