thorin-plugin-cluster-kube 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/clusterClient.js +2 -1
- package/package.json +1 -1
package/lib/clusterClient.js
CHANGED
|
@@ -10,7 +10,8 @@ const crypto = require('crypto'),
|
|
|
10
10
|
module.exports = function init(thorin, opt) {
|
|
11
11
|
|
|
12
12
|
const ERROR_SERVICE = thorin.error('CLUSTER.DATA', 'Please provide the service name'),
|
|
13
|
-
ERROR_ACTION = thorin.error('CLUSTER.DATA', 'Please provide the action name')
|
|
13
|
+
ERROR_ACTION = thorin.error('CLUSTER.DATA', 'Please provide the action name'),
|
|
14
|
+
ERROR_PROXY = thorin.error('CLUSTER.AUTH', 'Request not authorized', 401);
|
|
14
15
|
|
|
15
16
|
const logger = thorin.logger(opt.logger),
|
|
16
17
|
fetch = thorin.fetch;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "thorin-plugin-cluster-kube",
|
|
3
3
|
"author": "UNLOQ Systems",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.8",
|
|
5
5
|
"dependencies": {},
|
|
6
6
|
"description": "Thorin.js cluster plugin for microservice communication within a kubernetes environment",
|
|
7
7
|
"main": "index.js",
|