While displaying the host pattern in the OSDs placement tab, it gets splited with semi-colons. Also adjusted the column size of Container Image ID and Placement columns.
Fixes: https://tracker.ceph.com/issues/50580
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
expect(
pipe.transform({
placement: {
- host_pattern: '*'
+ host_pattern: 'abc.ceph.xyz.com'
}
})
- ).toBe('*');
+ ).toBe('abc.ceph.xyz.com');
});
it('transforms placement (6)', () => {
kv.push($localize`label:${label}`);
}
if (_.isString(hostPattern)) {
- kv.push(...hostPattern);
+ kv.push(hostPattern);
}
return kv.join(';');
}
{
name: $localize`Container image ID`,
prop: 'status.container_image_id',
- flexGrow: 3,
+ flexGrow: 1.5,
cellTransformation: CellTemplate.truncate,
customTemplateConfig: {
length: 12
name: $localize`Placement`,
prop: '',
pipe: new PlacementPipe(),
- flexGrow: 1
+ flexGrow: 2
},
{
name: $localize`Running`,