Skip to content

Commit a066119

Browse files
committed
Apply scalaFmt
1 parent 024f11c commit a066119

File tree

1 file changed

+2
-1
lines changed
  • core/invoker/src/main/scala/org/apache/openwhisk/core/invoker

1 file changed

+2
-1
lines changed

core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/Invoker.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ object Invoker {
188188

189189
// --uniqueName is defined with a valid value, id is empty, assign an id via zookeeper
190190
case CmdLineArgs(Some(unique), None, _, overwriteId) =>
191-
if (config.zookeeperHosts.startsWith(":") || config.zookeeperHosts.endsWith(":") || config.zookeeperHosts.equals("")) {
191+
if (config.zookeeperHosts.startsWith(":") || config.zookeeperHosts.endsWith(":") ||
192+
config.zookeeperHosts.equals("")) {
192193
abort(s"Must provide valid zookeeper host and port to use dynamicId assignment (${config.zookeeperHosts})")
193194
}
194195
new InstanceIdAssigner(config.zookeeperHosts).setAndGetId(unique, overwriteId)

0 commit comments

Comments
 (0)