File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core/invoker/src/main/scala/org/apache/openwhisk/core/invoker Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,8 @@ object Invoker {
188
188
189
189
// --uniqueName is defined with a valid value, id is empty, assign an id via zookeeper
190
190
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(" " )) {
192
193
abort(s " Must provide valid zookeeper host and port to use dynamicId assignment ( ${config.zookeeperHosts}) " )
193
194
}
194
195
new InstanceIdAssigner (config.zookeeperHosts).setAndGetId(unique, overwriteId)
You can’t perform that action at this time.
0 commit comments