lburgazzoli commented on code in PR #3977:
URL: https://github.com/apache/camel-k/pull/3977#discussion_r1084118691


##########
script/gen_client_strimzi.sh:
##########
@@ -20,7 +20,7 @@ set -e
 location=$(dirname $0)
 rootdir=$location/..
 
-unset GOPATH
+#unset GOPATH

Review Comment:
   done



##########
pkg/controller/integration/monitor.go:
##########
@@ -435,45 +442,100 @@ func (action *monitorAction) probeReadiness(
                if container == nil {
                        return fmt.Errorf("integration container not found in 
Pod %s/%s", pod.Namespace, pod.Name)
                }
+
+               readyCondition.Pods[i].Name = pod.Name
+
+               for p := range pod.Status.Conditions {
+                       if pod.Status.Conditions[p].Type == corev1.PodReady {
+                               readyCondition.Pods[i].Condition = 
pod.Status.Conditions[p]
+                               break
+                       }
+               }
                if probe := container.ReadinessProbe; probe != nil && 
probe.HTTPGet != nil {
                        body, err := proxyGetHTTPProbe(ctx, action.client, 
probe, pod, container)
+
+                       // When invoking the HTTp probe, the kubernetes client 
exposes a very

Review Comment:
   done



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