apache / apache/openwhisk

Missed config keys on Scala 2.13.x

Open
#5,447 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

The origin of the issue is iteration through the config keys [here](https://github.com/apache/openwhisk/blob/master/common/scala/src/main/scala/org/apache/openwhisk/common/Config.scala#L145) and [here](https://github.com/apache/openwhisk/blob/master/common/scala/src/main/scala/org/apache/openwhisk/common/Config.scala#L156) and at the same time properties [change](https://github.com/apache/openwhisk/blob/master/common/scala/src/main/scala/org/apache/openwhisk/common/Config.scala#L150) in the loop which can lead to skipping some keys after `+=`.

Fixed an issue with missed config keys while iterating through them on Scala 2.13.x
!Note: This issue reproduces only on Scala >= 2.13.x version and probably related to some internal changes in Scala.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.