succes exit
This commit is contained in:
parent
7ac2075e31
commit
653b520a82
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,6 @@ except Exception as ex:
|
|||
try:
|
||||
if version_to_check[0] == '!':
|
||||
print(f'checking NOT version: {version_to_check[1:]}')
|
||||
print(f'version_to_check: {version_to_check}')
|
||||
PASSED = True if installed_version_info['clientVersion']['gitVersion'] != version_to_check[1:] else False
|
||||
elif version_to_check == 'latest':
|
||||
response = None
|
||||
|
@ -42,3 +41,4 @@ except:
|
|||
if not PASSED:
|
||||
sys.exit('Setting up of '+version_to_check+' kubectl failed')
|
||||
print('Test passed')
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Add table
Reference in a new issue