From 3c82cd32a5e473b6b98952bd56313d894c1919ec Mon Sep 17 00:00:00 2001 From: Leo Palmer Sunmo Date: Wed, 16 Sep 2020 12:40:01 +1200 Subject: [PATCH] Keep it consistent across versions --- es.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es.go b/es.go index d4787c5..3c6fc34 100644 --- a/es.go +++ b/es.go @@ -596,7 +596,7 @@ func (c *Client) GetNodeJVMStats() ([]NodeStats, error) { role = "d" } if masterRole == "true" { - role = "m" + role + role = "M" + role } }