Node Stats: OS stats reporting free as the key instead of used, closes #1804.

This commit is contained in:
Shay Banon 2012-03-22 14:27:29 +02:00
parent 348ed11450
commit 5f83ad8d0c
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ public class OsStats implements Streamable, Serializable, ToXContent {
static final XContentBuilderString SWAP = new XContentBuilderString("swap"); static final XContentBuilderString SWAP = new XContentBuilderString("swap");
static final XContentBuilderString FREE = new XContentBuilderString("free"); static final XContentBuilderString FREE = new XContentBuilderString("free");
static final XContentBuilderString FREE_IN_BYTES = new XContentBuilderString("free_in_bytes"); static final XContentBuilderString FREE_IN_BYTES = new XContentBuilderString("free_in_bytes");
static final XContentBuilderString USED = new XContentBuilderString("free"); static final XContentBuilderString USED = new XContentBuilderString("used");
static final XContentBuilderString USED_IN_BYTES = new XContentBuilderString("free_in_bytes"); static final XContentBuilderString USED_IN_BYTES = new XContentBuilderString("used_in_bytes");
static final XContentBuilderString FREE_PERCENT = new XContentBuilderString("free_percent"); static final XContentBuilderString FREE_PERCENT = new XContentBuilderString("free_percent");
static final XContentBuilderString USED_PERCENT = new XContentBuilderString("used_percent"); static final XContentBuilderString USED_PERCENT = new XContentBuilderString("used_percent");