gansheer commented on code in PR #4239:
URL: https://github.com/apache/camel-k/pull/4239#discussion_r1162396389


##########
pkg/client/camel/applyconfiguration/camel/v1/integrationplatformbuildspec.go:
##########
@@ -27,15 +27,16 @@ import (
 // IntegrationPlatformBuildSpecApplyConfiguration represents an declarative 
configuration of the IntegrationPlatformBuildSpec type for use
 // with apply.
 type IntegrationPlatformBuildSpecApplyConfiguration struct {
-       BuildStrategy          *v1.BuildStrategy                           
`json:"buildStrategy,omitempty"`
-       PublishStrategy        *v1.IntegrationPlatformBuildPublishStrategy 
`json:"publishStrategy,omitempty"`
-       RuntimeVersion         *string                                     
`json:"runtimeVersion,omitempty"`
-       RuntimeProvider        *v1.RuntimeProvider                         
`json:"runtimeProvider,omitempty"`
-       BaseImage              *string                                     
`json:"baseImage,omitempty"`
-       Registry               *RegistrySpecApplyConfiguration             
`json:"registry,omitempty"`
-       Timeout                *metav1.Duration                            
`json:"timeout,omitempty"`
-       Maven                  *MavenSpecApplyConfiguration                
`json:"maven,omitempty"`
-       PublishStrategyOptions map[string]string                           
`json:"PublishStrategyOptions,omitempty"`
+       BuildStrategy           *v1.BuildStrategy                           
`json:"buildStrategy,omitempty"`
+       PublishStrategy         *v1.IntegrationPlatformBuildPublishStrategy 
`json:"publishStrategy,omitempty"`
+       RuntimeVersion          *string                                     
`json:"runtimeVersion,omitempty"`
+       RuntimeProvider         *v1.RuntimeProvider                         
`json:"runtimeProvider,omitempty"`
+       BaseImage               *string                                     
`json:"baseImage,omitempty"`
+       Registry                *RegistrySpecApplyConfiguration             
`json:"registry,omitempty"`
+       BuildCatalogToolTimeout *int                                        
`json:"buildCatalogToolTimeout,omitempty"`

Review Comment:
   Just curious : why not use the same type as the `Timeout` parameter ? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to