git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] nicolaferraro commented on a change in pull request #239: initial support for spring boot


nicolaferraro commented on a change in pull request #239: initial support for spring boot
URL: https://github.com/apache/camel-k/pull/239#discussion_r236034877
 
 

 ##########
 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:
   Someone may think we're doing something bigger ;)

----------------------------------------------------------------
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:
users@xxxxxxxxxxxxxxxx


With regards,
Apache Git Services