]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/pipes/iscsi-backstore.pipe.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / pipes / iscsi-backstore.pipe.ts
1 import { Pipe, PipeTransform } from '@angular/core';
2
3 @Pipe({
4 name: 'iscsiBackstore'
5 })
6 export class IscsiBackstorePipe implements PipeTransform {
7 transform(value: any): any {
8 switch (value) {
9 case 'user:rbd':
10 return 'user:rbd (tcmu-runner)';
11 default:
12 return value;
13 }
14 }
15 }