You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/08/10 15:03:13 UTC
[incubator-dlab] 04/04: [DLAB-1983]: added 'invalid_name' status
for yum
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1983
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 5dc7903459a7f479bac1eb5f33ec54209a45e673
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Aug 10 18:02:13 2020 +0300
[DLAB-1983]: added 'invalid_name' status for yum
---
infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py | 2 ++
1 file changed, 2 insertions(+)
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 6fbb306..f80da1f 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
@@ -395,6 +395,8 @@ def install_os_pkg(requisites):
versions[n] = i.split(':')[1].split('-')[0]
else:
versions[n] = i.split('-')[0]
+ else:
+ status_msg = 'invalid_name'
status.append({"group": "os_pkg", "name": name, "version": version, "status": status_msg,
"error_message": err, "add_pkgs": dep, "available_versions": versions})
return status
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org