mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Add clarifying type annotation
This commit is contained in:
parent
4717da7f80
commit
a8a10c2c71
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export class GcpServer extends ShadowboxServer implements server.ManagedServer {
|
|||
private apiClient: gcp_api.RestApiClient) {
|
||||
super(id);
|
||||
// Optimization: start the check for a static IP immediately.
|
||||
const hasStaticIp = this.hasStaticIp();
|
||||
const hasStaticIp: Promise<boolean> = this.hasStaticIp();
|
||||
this.instanceReadiness = instanceCreation.then(async () => {
|
||||
if (!await hasStaticIp) {
|
||||
await this.promoteEphemeralIp();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue