Skip to content

Commit 221d762

Browse files
bdoyle0182style95
andauthored
Update core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/InstanceIdAssigner.scala
Co-authored-by: Dominic Kim <[email protected]>
1 parent 1a111ff commit 221d762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private[invoker] class InstanceIdAssigner(connectionString: String)(implicit log
6969
oldId
7070
}
7171
} else {
72-
val newId = overwriteId.get
72+
val newId = overwriteId.getOrElse("")
7373
zkClient.create().orSetData().forPath(myIdPath, BigInt(newId).toByteArray)
7474
logger.info(this, s"invokerReg: invoker $name was assigned invokerId $newId")
7575
newId

0 commit comments

Comments
 (0)