lburgazzoli commented on PR #3977:
URL: https://github.com/apache/camel-k/pull/3977#issuecomment-1383894279

   Seems to break some other stuffs
   
   ```
   go test ./...
   # github.com/apache/camel-k/pkg/client/camel/applyconfiguration/camel/v1
   pkg/client/camel/applyconfiguration/camel/v1/podcondition.go:45:11: cannot 
use &value (value of type *"k8s.io/api/core/v1".PodConditionType) as type 
"k8s.io/api/core/v1".PodConditionType in assignment
   pkg/client/camel/applyconfiguration/camel/v1/podcondition.go:53:13: cannot 
use &value (value of type *"k8s.io/api/core/v1".ConditionStatus) as type 
"k8s.io/api/core/v1".ConditionStatus in assignment
   pkg/client/camel/applyconfiguration/camel/v1/podcondition.go:61:20: cannot 
use &value (value of type *"k8s.io/apimachinery/pkg/apis/meta/v1".Time) as type 
"k8s.io/apimachinery/pkg/apis/meta/v1".Time in assignment
   pkg/client/camel/applyconfiguration/camel/v1/podcondition.go:69:25: cannot 
use &value (value of type *"k8s.io/apimachinery/pkg/apis/meta/v1".Time) as type 
"k8s.io/apimachinery/pkg/apis/meta/v1".Time in assignment
   pkg/client/camel/applyconfiguration/camel/v1/podcondition.go:77:13: cannot 
use &value (value of type *string) as type string in assignment
   pkg/client/camel/applyconfiguration/camel/v1/podcondition.go:85:14: cannot 
use &value (value of type *string) as type string in assignment
   ```
   
   And lints:
   
   ```
   addons/master/master.go:98:65                                     typecheck  
    t.Client undefined (type *masterTrait has no field or method Client)
   addons/master/master.go:232:45                                    typecheck  
    t.Client undefined (type *masterTrait has no field or method Client)
   addons/resume/resume.go:88:75                                     typecheck  
    r.Client undefined (type *resumeTrait has no field or method Client)
   pkg/controller/build/build_controller.go:165:5                    typecheck  
    a.InjectClient undefined (type Action has no field or method InjectClient)
   pkg/controller/build/build_controller.go:167:5                    typecheck  
    a.InjectRecorder undefined (type Action has no field or method 
InjectRecorder)
   pkg/controller/integrationkit/integrationkit_controller.go:263:5  typecheck  
    a.InjectClient undefined (type Action has no field or method InjectClient)
   pkg/controller/kamelet/kamelet_controller.go:159:5                typecheck  
    a.InjectClient undefined (type Action has no field or method InjectClient)
   addons/tracing/tracing.go:94:52                                   typecheck  
    t.Client undefined (type *tracingTrait has no field or method Client)
   addons/tracing/tracing.go:99:8                                    typecheck  
    t.L undefined (type *tracingTrait has no field or method L)
   pkg/cmd/root.go:231:24                                            typecheck  
    invalid operation: cannot compare command._client != nil (operator != not 
defined on untyped nil)
   pkg/controller/integrationplatform/create_test.go:50:4            typecheck  
    h.InjectClient undefined (type Action has no field or method InjectClient)
   pkg/controller/integrationplatform/initialize_test.go:50:4        typecheck  
    h.InjectClient undefined (type Action has no field or method InjectClient)
   pkg/controller/integrationplatform/initialize_test.go:80:4        typecheck  
    h.InjectClient undefined (type Action has no field or method InjectClient)
   pkg/metadata/metadata_capabilities_test.go:50:8                   typecheck  
    meta.Dependencies undefined (type IntegrationMetadata has no field or 
method Dependencies)
   pkg/metadata/metadata_capabilities_test.go:57:8                   typecheck  
    meta.RequiredCapabilities undefined (type IntegrationMetadata has no field 
or method RequiredCapabilities)
   pkg/metadata/metadata_dependencies_test.go:62:8                   typecheck  
    meta.Dependencies undefined (type IntegrationMetadata has no field or 
method Dependencies)
   pkg/metadata/metadata_dependencies_test.go:95:8                   typecheck  
    meta.Dependencies undefined (type IntegrationMetadata has no field or 
method Dependencies)
   pkg/metadata/metadata_dependencies_test.go:219:22                 typecheck  
    meta.RequiredCapabilities undefined (type IntegrationMetadata has no field 
or method RequiredCapabilities)
   pkg/metadata/metadata_dependencies_test.go:376:22                 typecheck  
    meta.RequiredCapabilities undefined (type IntegrationMetadata has no field 
or method RequiredCapabilities)
   pkg/metadata/metadata_http_test.go:48:22                          typecheck  
    meta.ExposesHTTPServices undefined (type IntegrationMetadata has no field 
or method ExposesHTTPServices)
   pkg/metadata/metadata_http_test.go:49:23                          typecheck  
    meta.PassiveEndpoints undefined (type IntegrationMetadata has no field or 
method PassiveEndpoints)
   pkg/metadata/metadata_http_test.go:73:22                          typecheck  
    meta.ExposesHTTPServices undefined (type IntegrationMetadata has no field 
or method ExposesHTTPServices)
   pkg/metadata/metadata_http_test.go:74:22                          typecheck  
    meta.PassiveEndpoints undefined (type IntegrationMetadata has no field or 
method PassiveEndpoints)
   pkg/metadata/metadata_http_test.go:95:22                          typecheck  
    meta.ExposesHTTPServices undefined (type IntegrationMetadata has no field 
or method ExposesHTTPServices)
   pkg/metadata/metadata_http_test.go:96:22                          typecheck  
    meta.PassiveEndpoints undefined (type IntegrationMetadata has no field or 
method PassiveEndpoints)
   pkg/metadata/metadata_uri_test.go:56:30                           typecheck  
    metadata.FromURIs undefined (type IntegrationMetadata has no field or 
method FromURIs)
   pkg/metadata/metadata_uri_test.go:57:25                           typecheck  
    metadata.FromURIs undefined (type IntegrationMetadata has no field or 
method FromURIs)
   pkg/metadata/metadata_uri_test.go:58:30                           typecheck  
    metadata.ToURIs undefined (type IntegrationMetadata has no field or method 
ToURIs)
   pkg/metadata/metadata_uri_test.go:59:25                           typecheck  
    metadata.ToURIs undefined (type IntegrationMetadata has no field or method 
ToURIs)
   pkg/metadata/metadata_uri_test.go:94:30                           typecheck  
    metadata.FromURIs undefined (type IntegrationMetadata has no field or 
method FromURIs)
   pkg/metadata/metadata_uri_test.go:96:30                           typecheck  
    metadata.ToURIs undefined (type IntegrationMetadata has no field or method 
ToURIs)
   pkg/trait/pull_secret.go:74:19                                    typecheck  
    invalid operation: cannot compare t.Client != nil (operator != not defined 
on untyped nil)
   pkg/trait/trait_catalog.go:59:6                                   typecheck  
    t.InjectClient undefined (type Trait has no field or method InjectClient)
   ```


-- 
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