Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
rename servers to endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Orel <[email protected]>
  • Loading branch information
olexii4 committed Jan 11, 2019
1 parent 61a0599 commit bb3cbd4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/containers-plugin/src/containers-tree-data-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ export class ContainersTreeDataProvider implements theia.TreeDataProvider<ITreeN
if (!serverKeys.length) {
return;
}
const serversId = this.getRandId();
const endpointsId = this.getRandId();
this.treeNodeItems.push({
id: serversId,
id: endpointsId,
parentId: treeItem.id,
name: 'servers',
tooltip: 'servers',
name: 'endpoints',
tooltip: 'endpoints',
isExpanded: true
});
serverKeys.forEach((serverName: string) => {
Expand All @@ -101,10 +101,10 @@ export class ContainersTreeDataProvider implements theia.TreeDataProvider<ITreeN
}
const treeNodeItem: ITreeNodeItem = {
id: this.getRandId(),
parentId: serversId,
parentId: endpointsId,
name: serverName,
iconPath: 'fa-info-circle medium-blue',
tooltip: server.url ? server.url : 'server'
tooltip: server.url ? server.url : 'endpoint'
};
if (server.url && server.url.startsWith('http')) {
treeNodeItem.name = ` [${serverName}](${server.url})`;
Expand Down

0 comments on commit bb3cbd4

Please sign in to comment.