tools/stx/lib/stx
Scott Little ae18863a34 get_pod_name: Only return running pods
get_pod_name was observed to return a list of all
pods satisfying the query without consideration of
the state of the pod. In one observed scenario the name of
a runing pod and an terminating pod were returned.

All subsequent commands used the podname with out checking
for multiple entries.  They clearly expect only a single
name, not multiple.

Modify get_pod_name to only return a single rinning pod name.

Closes-bug: 2015885
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I0b7bf22c4481fc4a81012fc14ac9d388afd6b065
2023-04-12 14:46:06 -04:00
..
.gitignore import-stx: Avoid divide by zero 2022-01-31 13:17:16 -05:00
__init__.py stx tool: Initial the stx tool for starlingx debian building 2021-06-10 21:55:18 -04:00
config.py Avoid minikube profile interference 2023-02-08 12:49:03 -05:00
helper.py stx-tool: config: Add the support of config module 2021-09-01 03:54:44 -04:00
k8s.py get_pod_name: Only return running pods 2023-04-12 14:46:06 -04:00
stx_build.py debian: stx tool: std/rt support 2022-05-05 07:41:09 -04:00
stx_configparser.py Set Debian snapshots URL to CENGN 2022-08-23 16:48:34 -04:00
stx_control.py tools: add command 'stx control keys-add' 2023-02-28 20:21:18 -05:00
stx_main.py tools: add command 'stx control keys-add' 2023-02-28 20:21:18 -05:00
stx_repomgr.py Remove pkgbuilder help text from repomgr commands 2022-03-09 16:14:27 -05:00
stx_shell.py debian: stx: shell: support multi-line commands 2022-06-09 22:06:13 -04:00
utils.py stx-tool: config: Add the support of config module 2021-09-01 03:54:44 -04:00