lburgazzoli commented on a change in pull request #239: initial support for
spring boot
URL: https://github.com/apache/camel-k/pull/239#discussion_r236038288
##########
File path: pkg/builder/builder_types.go
##########
@@ -78,8 +80,11 @@ func (s *stepWrapper) Execute(ctx *Context) error {
return s.task(ctx)
}
+// StepFunction ---
+type StepFunction func(*Context) error
+
// NewStep --
-func NewStep(ID string, phase int32, task func(*Context) error) Step {
+func NewStep(ID string, phase int32, task StepFunction) Step {
Review comment:
ahah :) will rename it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services