From 9dbeabb673464f24b2e428453fb24728b7e58ef5 Mon Sep 17 00:00:00 2001 From: Leonardo Menezes Date: Fri, 27 Nov 2020 14:26:10 +0100 Subject: [PATCH] use named params for NodeRoles creation --- app/models/commons/NodeRoles.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/commons/NodeRoles.scala b/app/models/commons/NodeRoles.scala index 7ae69490..0719e13a 100644 --- a/app/models/commons/NodeRoles.scala +++ b/app/models/commons/NodeRoles.scala @@ -32,9 +32,9 @@ object NodeRoles { val client = truthy((nodeInfo \ "attributes" \ "client").asOpt[String].getOrElse("false")) NodeRoles( - master && !client, - data && !client, - false // 2.x doesnt support ingest + master = master && !client, + data = data && !client, + ingest = false // 2.x doesnt support ingest ) } }