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

yaolei pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2b2def6e9c [AMBARI-24976] List Ozone as file system service (dsen) 
(#2675)
2b2def6e9c is described below

commit 2b2def6e9cb9ee3575a571909c03c157b2d390ab
Author: Dmytro Sen <d0z...@users.noreply.github.com>
AuthorDate: Wed Jul 12 11:39:02 2023 +0200

    [AMBARI-24976] List Ozone as file system service (dsen) (#2675)
---
 ambari-web/app/models/stack_service.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/models/stack_service.js 
b/ambari-web/app/models/stack_service.js
index d06960faa9..fe0bfc0373 100644
--- a/ambari-web/app/models/stack_service.js
+++ b/ambari-web/app/models/stack_service.js
@@ -191,7 +191,7 @@ App.StackService = DS.Model.extend({
 
   // Is the service a distributed filesystem
   isDFS: function () {
-    return this.get('serviceType') === 'HCFS' || ['HDFS', 
'GLUSTERFS'].contains(this.get('serviceName'));
+    return this.get('serviceType') === 'HCFS' || ['HDFS', 'GLUSTERFS', 
'OZONE'].contains(this.get('serviceName'));
   }.property('serviceName', 'serviceType'),
 
   // Primary DFS. used if there is more than one DFS in a stack.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@ambari.apache.org
For additional commands, e-mail: commits-h...@ambari.apache.org

Reply via email to