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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to