Skip to content

Commit 42474d3

Browse files
Use 'iterator' instead of 'toIterator'. (#4862)
1 parent b9003ee commit 42474d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/scala/src/main/scala/org/apache/openwhisk/core/database/ActivationFileStorage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ActivationFileStorage(logFilePrefix: String,
127127

128128
// Write each log line to file and then write the activation metadata
129129
Source
130-
.fromIterator(() => transcribedLogs.toIterator)
130+
.fromIterator(() => transcribedLogs.iterator)
131131
.runWith(Flow[ByteString].concat(Source.single(transcribedActivation)).to(writeToFile))
132132
}
133133
}

0 commit comments

Comments
 (0)