From 6525c94458403e4ece8d4e7c2188e5a13738b22d Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Wed, 17 Jun 2015 17:30:00 +0200 Subject: [PATCH] Make default pod name match the one from template --- openshift/scripts/run-in-container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift/scripts/run-in-container.sh b/openshift/scripts/run-in-container.sh index 46fd80b..7219bfe 100755 --- a/openshift/scripts/run-in-container.sh +++ b/openshift/scripts/run-in-container.sh @@ -34,7 +34,7 @@ # Get name of a currently deployed pod by label and index POD_INSTANCE_NAME=`oc get pods \ - -l "name=${POD_NAME:-django}" \ + -l "name=${POD_NAME:-django-frontend}" \ -t "{{ with index .items ${POD_INDEX:-0} }}{{ .metadata.name }}{{ end }}"` # Run command in a container of the specified pod: