refresh app action: not returning an error when there is no update available

This commit is contained in:
Vinicius Moreira
2020-08-26 12:57:49 -03:00
parent 50893bff99
commit 1f68c9c9d4
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ def downgrade_and_stream(app_name: str, root_password: str) -> SimpleProcess:
def refresh_and_stream(app_name: str, root_password: str) -> SimpleProcess:
return SimpleProcess(cmd=[BASE_CMD, 'refresh', app_name],
root_password=root_password,
error_phrases={'no updates available'},
shell=True)