This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1961
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1961 by this push:
new 12c9a5c [DLAB-1962]: changed status in response
12c9a5c is described below
commit 12c9a5ce2f021313e17accdb6d3d92f851a56234
Author: leonidfrolov <[email protected]>
AuthorDate: Fri Jul 24 14:18:19 2020 +0300
[DLAB-1962]: changed status in response
---
infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 2 +-
infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 3b3ba3f..d3bcefa 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -415,7 +415,7 @@ def install_os_pkg(requisites):
for os_pkg in requisites:
name, vers = os_pkg
status.append(
- {"group": "os_pkg", "name": name, "version": vers, "status":
'failed', "error_message": err})
+ {"group": "os_pkg", "name": name, "version": vers, "status":
'installation_error', "error_message": err})
print("Failed to install OS packages: {}".format(requisites))
return status
diff --git
a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
index 93627fb..ce075c0 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
@@ -364,7 +364,7 @@ def install_os_pkg(requisites):
for os_pkg in requisites:
name, vers = os_pkg
status.append(
- {"group": "os_pkg", "name": name, "version": vers, "status":
'failed', "error_message": err})
+ {"group": "os_pkg", "name": name, "version": vers, "status":
'installation_error', "error_message": err})
print("Failed to install OS packages: {}".format(requisites))
return status
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]