Code Review
/
src
/
xds
/
xds-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improved and fixed connection to XDS Server
[src/xds/xds-agent.git]
/
webapp
/
src
/
app
/
@core-xds
/
services
/
xds-config.service.ts
diff --git
a/webapp/src/app/@core-xds/services/xds-config.service.ts
b/webapp/src/app/@core-xds/services/xds-config.service.ts
index
2f751a7
..
2a43f2b
100644
(file)
--- a/
webapp/src/app/@core-xds/services/xds-config.service.ts
+++ b/
webapp/src/app/@core-xds/services/xds-config.service.ts
@@
-74,9
+74,10
@@
export class XDSConfigService {
return Observable.of(curSvr);
}
return Observable.of(curSvr);
}
- private _updateCurServer() {
+ private _updateCurServer()
: IXDServerCfg
{
this._curServer = this._getCurServer();
this.curServer$.next(this._curServer);
this._curServer = this._getCurServer();
this.curServer$.next(this._curServer);
+ return this._curServer;
}
private _getCurServer(url?: string): IXDServerCfg {
}
private _getCurServer(url?: string): IXDServerCfg {