You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/08/06 10:33:43 UTC

[incubator-dlab] branch develop updated: DLAB-973 fixed bug connected with displaying installed libs when notebook is created from image

This is an automated email from the ASF dual-hosted git repository.

bhliva pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new 1a0c6cd  DLAB-973 fixed bug connected with displaying installed libs when notebook is created from image
1a0c6cd is described below

commit 1a0c6cdf3678c5cf093aca0dc037d1ab9133bbd4
Author: bhliva <bo...@epam.com>
AuthorDate: Tue Aug 6 13:33:30 2019 +0300

    DLAB-973 fixed bug connected with displaying installed libs when notebook is created from image
---
 .../main/java/com/epam/dlab/backendapi/dao/ImageExploratoryDaoImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ImageExploratoryDaoImpl.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ImageExploratoryDaoImpl.java
index e896ff4..d3ad380 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ImageExploratoryDaoImpl.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dao/ImageExploratoryDaoImpl.java
@@ -97,7 +97,7 @@ public class ImageExploratoryDaoImpl extends BaseDAO implements ImageExploratory
 	}
 
 	private Bson imageLibraryCondition(String user, String imageFullName, LibStatus status) {
-		return and(eq(USER, user), eq(IMAGE_FULL_NAME, imageFullName),
+		return and(eq(USER, user), eq(IMAGE_NAME, imageFullName),
 				elemMatch(LIBRARIES, eq(STATUS, status.name())));
 	}
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org