diff options
Diffstat (limited to 'participant')
-rw-r--r-- | participant/participant-impl/participant-impl-kubernetes/src/main/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/PodStatusValidator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/participant/participant-impl/participant-impl-kubernetes/src/main/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/PodStatusValidator.java b/participant/participant-impl/participant-impl-kubernetes/src/main/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/PodStatusValidator.java index f8b08a6be..8267bda13 100644 --- a/participant/participant-impl/participant-impl-kubernetes/src/main/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/PodStatusValidator.java +++ b/participant/participant-impl/participant-impl-kubernetes/src/main/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/PodStatusValidator.java @@ -91,8 +91,8 @@ public class PodStatusValidator implements Runnable { } private ProcessBuilder verifyPodStatusCommand(ChartInfo chart) { - String podName = chart.getReleaseName() + "-" + chart.getChartId().getName(); - String cmd = "kubectl get pods --namespace " + chart.getNamespace() + " | grep " + podName; + String cmd = "kubectl get pods --namespace " + chart.getNamespace() + " | grep " + + chart.getChartId().getName(); return new ProcessBuilder("sh", "-c", cmd); } |