Retrieve database credentials from jobs stored in redis
This commit is contained in:
parent
67f2a85abd
commit
e2b8fa9e22
@ -82,7 +82,12 @@ JobBackend.prototype.get = function (job_id, callback) {
|
||||
'updated_at',
|
||||
'host',
|
||||
'failed_reason',
|
||||
'fallback_status'
|
||||
'fallback_status',
|
||||
'host',
|
||||
'port',
|
||||
'pass',
|
||||
'dbname',
|
||||
'dbuser'
|
||||
];
|
||||
|
||||
self.metadataBackend.redisCmd(REDIS_DB, 'HMGET', redisParams , function (err, redisValues) {
|
||||
|
Loading…
Reference in New Issue
Block a user