You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2018/01/15 04:10:50 UTC
[incubator-openwhisk-package-alarms] branch master updated: revert
PR #115 (#121)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-alarms.git
The following commit(s) were added to refs/heads/master by this push:
new 9631780 revert PR #115 (#121)
9631780 is described below
commit 9631780de989e717b3315b74b421b2d098d5a756
Author: Jason Peterson <ja...@us.ibm.com>
AuthorDate: Sun Jan 14 23:10:48 2018 -0500
revert PR #115 (#121)
---
provider/app.js | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/provider/app.js b/provider/app.js
index e46ac71..9ba5f98 100755
--- a/provider/app.js
+++ b/provider/app.js
@@ -46,12 +46,7 @@ function createDatabase() {
var method = 'createDatabase';
logger.info(method, 'creating the trigger database');
- var nano = require('nano')({
- url: dbProtocol + "://" + dbHost,
- requestDefaults: {
- auth: {user: dbUsername, pass: dbPassword}
- }
- });
+ var nano = require('nano')(dbProtocol + '://' + dbUsername + ':' + dbPassword + '@' + dbHost);
if (nano !== null) {
return new Promise(function (resolve, reject) {
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].