We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 422898d commit ed02931Copy full SHA for ed02931
1 file changed
core/environment/transition_startactivity.go
@@ -26,9 +26,10 @@ package environment
26
27
import (
28
"errors"
29
- "github.com/AliceO2Group/Control/core/workflow"
30
"strconv"
31
+ "github.com/AliceO2Group/Control/core/workflow"
32
+
33
"github.com/AliceO2Group/Control/common/event"
34
"github.com/AliceO2Group/Control/common/logger/infologger"
35
"github.com/AliceO2Group/Control/core/controlcommands"
@@ -91,7 +92,9 @@ func (t StartActivityTransition) do(env *Environment) (err error) {
91
92
"lhc_period",
93
} {
94
if value, ok := cvs[key]; ok {
95
+ // we push the above parameters with both camelCase and snake_case identifiers for convenience
96
args[strcase.ToLowerCamel(key)] = value
97
+ args[key] = value
98
}
99
100
0 commit comments