Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[RIC-621] - Fix Automation
[ric-plt/e2mgr.git]
/
Automation
/
Tests
/
Scripts
/
k8s_helper.py
diff --git
a/Automation/Tests/Scripts/k8s_helper.py
b/Automation/Tests/Scripts/k8s_helper.py
index
80b1829
..
2a84943
100644
(file)
--- a/
Automation/Tests/Scripts/k8s_helper.py
+++ b/
Automation/Tests/Scripts/k8s_helper.py
@@
-24,9
+24,9
@@
import subprocess
def extract_service_ip(service_name):
def extract_service_ip(service_name):
- k8s_command = "kubectl -n ricplt get services | /bin/grep {} | /bin/grep ClusterIP | awk \'{{print $3}}\'"\
+ k8s_command = "kubectl -n ricplt get services | /bin/grep {} | /bin/grep ClusterIP | awk \'{{print $3}}\'"
\
.format(service_name)
service_ip = subprocess.check_output(["/bin/bash", "-c", k8s_command], universal_newlines=True)
.format(service_name)
service_ip = subprocess.check_output(["/bin/bash", "-c", k8s_command], universal_newlines=True)
- return service_ip.strip()
+ return service_ip.strip()
\ No newline at end of file