Browse Source

Merge pull request #17 from rhcarvalho/update-run-in-container

Make default pod name match the one from template
pull/18/head
Ben Parees 10 years ago
parent
commit
e3ea512dec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      openshift/scripts/run-in-container.sh

+ 1
- 1
openshift/scripts/run-in-container.sh View File

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


Loading…
Cancel
Save