Skip to content

Commit 83d9092

Browse files
committed
OM-UI: Display user-friendly snapshot status text
Change-Id: Ib0ad12109d4398416f5617ad96bfaca8fa3200e7
1 parent 7c9e73c commit 83d9092

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

hadoop-ozone/ozone-manager/src/main/resources/webapps/ozoneManager/om-snapshots.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ <h1>Snapshots</h1>
5454
<tbody>
5555
<tr ng-repeat="snapshot in $ctrl.snapshots">
5656
<td>{{snapshot.name}}</td>
57-
<td title="{{snapshot.snapshotStatus === 'SNAPSHOT_ACTIVE' ? 'active' : 'deletion in progress'}}">{{snapshot.snapshotStatus}}</td>
57+
<td title="{{snapshot.snapshotStatus === 'SNAPSHOT_ACTIVE' ? 'active' : 'deletion in progress'}}">
58+
{{snapshot.snapshotStatus === 'SNAPSHOT_ACTIVE' ? 'active' : 'deletion in progress'}}
59+
</td>
5860
<td>{{snapshot.creationTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
5961
<td>{{$ctrl.formatBytes(snapshot.referencedSize)}}</td>
6062
<td>{{$ctrl.formatBytes(snapshot.exclusiveSize)}}</td>

0 commit comments

Comments
 (0)