From 3ed05426be4f06f08a07d790540b2c8e8dcb822c Mon Sep 17 00:00:00 2001 From: Candy Date: Wed, 10 Feb 2016 10:41:46 -0500 Subject: [PATCH] Fix missing connector error msg for db2, cloudant for 2.x --- lib/datasource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datasource.js b/lib/datasource.js index 5e7bf66b..2fa215e1 100644 --- a/lib/datasource.js +++ b/lib/datasource.js @@ -198,7 +198,7 @@ function connectorModuleNames(name) { } } // Only try the short name if the connector is not from StrongLoop - if (['mongodb', 'oracle', 'mysql', 'postgresql', 'mssql', 'rest', 'soap'] + if (['mongodb', 'oracle', 'mysql', 'postgresql', 'mssql', 'rest', 'soap', 'db2', 'cloudant'] .indexOf(name) === -1) { names.push(name); }