From 4b44a743b9475080600464acb514a645beeb8635 Mon Sep 17 00:00:00 2001 From: Jong Wook Kim Date: Mon, 30 May 2016 17:43:18 -0400 Subject: [PATCH] [S2GRAPH-111] typo fix: getServiceLable -> getServiceLabel --- .../src/main/scala/org/apache/s2graph/core/Management.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s2core/src/main/scala/org/apache/s2graph/core/Management.scala b/s2core/src/main/scala/org/apache/s2graph/core/Management.scala index f9b74314..35b94117 100644 --- a/s2core/src/main/scala/org/apache/s2graph/core/Management.scala +++ b/s2core/src/main/scala/org/apache/s2graph/core/Management.scala @@ -167,7 +167,7 @@ object Management extends JSONParser { }) } - def getServiceLable(label: String): Option[Label] = { + def getServiceLabel(label: String): Option[Label] = { Label.findByName(label, useCache = true) } @@ -192,7 +192,7 @@ object Management extends JSONParser { def toEdge(ts: Long, operation: String, srcId: String, tgtId: String, labelStr: String, direction: String = "", props: String): Edge = { - val label = tryOption(labelStr, getServiceLable) + val label = tryOption(labelStr, getServiceLabel) val dir = if (direction == "") // GraphUtil.toDirection(label.direction)