Skip to content
This repository was archived by the owner on Mar 5, 2021. It is now read-only.

Commit 92a4d19

Browse files
committed
Version bump
1 parent b50f4f1 commit 92a4d19

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ Versions
1313
| 0.90.X | 0.90 | v0.90 |
1414
| 1.X | 1.0 | v1.6.1 | micwy/elasticsearch-kopf:1.x
1515
| 2.X | 2.0 | v2.1.1 | micwy/elasticsearch-kopf:2.x
16-
| 5.X,6.X | master | v6.0.1 | micwy/elasticsearch-kopf:6.x
17-
| 5.X,6.X | dev | v6.0.2-alpha | micwy/elasticsearch-kopf:dev
16+
| 5.X | master | v6.0.2 | micwy/elasticsearch-kopf:5.x
17+
| 6.X | master | v6.0.2 | micwy/elasticsearch-kopf:6.x
18+
| 5.X,6.X | dev | v6.0.3-alpha | micwy/elasticsearch-kopf:dev
1819

1920
Installation
2021
------------

src/kopf/controllers/global.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kopf.controller('GlobalController', ['$scope', '$location', '$sce', '$window',
33
function($scope, $location, $sce, $window, AlertService, ElasticService,
44
ExternalSettingsService, PageService) {
55

6-
$scope.version = '6.0.2-alpha';
6+
$scope.version = '6.0.2';
77

88
$scope.modal = new ModalControls();
99

src/kopf/services/elastic.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,13 @@ kopf.factory('ElasticService', ['$http', '$q', '$timeout', '$location',
756756

757757
this.clusterRequest = function(method, path, params, data, success, error) {
758758
var url = this.connection.host + path;
759-
var config = {method: method, url: url, data: data, params: params};
759+
var config = {
760+
method: method,
761+
url: url,
762+
data: data,
763+
params: params,
764+
headers: {'Content-Type' : 'application/json'}
765+
};
760766
this.addAuth(config);
761767
$http(config).
762768
success(function(data, status, headers, config) {

0 commit comments

Comments
 (0)