KubeUtils get_api_url fix
After refactoring ExecUtils, "exec_command" method stopped adding '\r' to the end returned string. This PS changes get_api_url behavior according to the new behavior of "exec_command". TrivialFix Change-Id: Ic31b06326288ef455b334cdd578ad230c701532d
This commit is contained in:
parent
772ba70654
commit
d68f30d0e2
|
@ -218,7 +218,7 @@ class KubeUtils(object):
|
|||
if code is not None:
|
||||
return ('', code)
|
||||
|
||||
current_context = res[:-1]
|
||||
current_context = res
|
||||
|
||||
res, code = ExecUtils.exec_command('kubectl config view')
|
||||
if code is not None:
|
||||
|
|
Loading…
Reference in New Issue