lburgazzoli commented on a change in pull request #851: Upgrade to Knative 0.7.1
URL: https://github.com/apache/camel-k/pull/851#discussion_r305884010
##########
File path: pkg/trait/knative_service_test.go
##########
@@ -127,21 +127,21 @@ func TestKnativeService(t *testing.T) {
assert.NotNil(t, s)
- spec := s.Spec.RunLatest.Configuration.RevisionTemplate.Spec
+ spec := s.Spec.ConfigurationSpec.GetTemplate().Spec
- assert.Len(t, spec.Container.VolumeMounts, 5)
+ assert.Len(t, spec.Containers[0].VolumeMounts, 5)
Review comment:
not a something to do in this pr but we may need to add a method to lookup
the integration container instead of guessing its index :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services