This is an automated email from the ASF dual-hosted git repository.
chetanm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 42474d3 Use 'iterator' instead of 'toIterator'. (#4862)
42474d3 is described below
commit 42474d3b1662b3eac599de610cce63ccfa99a61a
Author: Markus Thömmes <[email protected]>
AuthorDate: Sat Mar 14 09:32:49 2020 +0100
Use 'iterator' instead of 'toIterator'. (#4862)
---
.../org/apache/openwhisk/core/database/ActivationFileStorage.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/common/scala/src/main/scala/org/apache/openwhisk/core/database/ActivationFileStorage.scala
b/common/scala/src/main/scala/org/apache/openwhisk/core/database/ActivationFileStorage.scala
index ca0282b..997ebaf 100644
---
a/common/scala/src/main/scala/org/apache/openwhisk/core/database/ActivationFileStorage.scala
+++
b/common/scala/src/main/scala/org/apache/openwhisk/core/database/ActivationFileStorage.scala
@@ -127,7 +127,7 @@ class ActivationFileStorage(logFilePrefix: String,
// Write each log line to file and then write the activation metadata
Source
- .fromIterator(() => transcribedLogs.toIterator)
+ .fromIterator(() => transcribedLogs.iterator)
.runWith(Flow[ByteString].concat(Source.single(transcribedActivation)).to(writeToFile))
}
}