You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2020/04/16 13:39:09 UTC

[incubator-dlab] branch DLAB-1571 updated: fixed issues with ami

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

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


The following commit(s) were added to refs/heads/DLAB-1571 by this push:
     new 922a73f  fixed issues with ami
922a73f is described below

commit 922a73f5b586e9fbdb32058e0e97080727a8cfe1
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Thu Apr 16 16:38:56 2020 +0300

    fixed issues with ami
---
 .../src/main/java/com/epam/dlab/backendapi/util/BillingUtils.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/util/BillingUtils.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/util/BillingUtils.java
index 3494fbe..7e46a09 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/util/BillingUtils.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/util/BillingUtils.java
@@ -176,7 +176,7 @@ public class BillingUtils {
         List<BillingReportLine> list = new ArrayList<>();
         for (String notebook : AVAILABLE_NOTEBOOKS) {
             list.add(BillingReportLine.builder().resourceName(IMAGE_NAME).dlabId(String.format(IMAGE_STANDARD_FORMAT1, sbn, project, endpoint, notebook).toLowerCase())
-                    .project(SHARED_RESOURCE).resourceType(IMAGE).build());
+                    .project(project).user(SHARED_RESOURCE).resourceType(IMAGE).build());
         }
 
         return list.stream();


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