Skip to content

Commit

Permalink
Newlines at ends of files
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Jun 21, 2023
1 parent fb735d9 commit 967f903
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/src/csds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ const csdsServiceDefinition = csdsGrpcObject.envoy.service.status.v3.ClientStatu

export function setup() {
registerAdminService(() => csdsServiceDefinition, () => csdsImplementation);
}
}
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
export const EXPERIMENTAL_FAULT_INJECTION = (process.env.GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION ?? 'true') === 'true';
export const EXPERIMENTAL_OUTLIER_DETECTION = (process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION ?? 'true') === 'true';
export const EXPERIMENTAL_RETRY = (process.env.GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY ?? 'true') === 'true';
export const EXPERIMENTAL_FEDERATION = (process.env.GRPC_EXPERIMENTAL_XDS_FEDERATION ?? 'false') === 'true';
export const EXPERIMENTAL_FEDERATION = (process.env.GRPC_EXPERIMENTAL_XDS_FEDERATION ?? 'false') === 'true';
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/src/load-balancer-xds-cluster-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,4 +269,4 @@ class XdsClusterImplBalancer implements LoadBalancer {

export function setup() {
registerLoadBalancerType(TYPE_NAME, XdsClusterImplBalancer, XdsClusterImplLoadBalancingConfig);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -483,4 +483,4 @@ export class XdsClusterResolverChildPolicyHandler extends ChildLoadBalancerHandl

export function setup() {
registerLoadBalancerType(TYPE_NAME, XdsClusterResolver, XdsClusterResolverLoadBalancingConfig);
}
}
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/src/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ export function xdsResourceNameToString(name: XdsResourceName, typeUrl: string):
return name.key;
}
return `xdstp://${name.authority}/${typeUrl}/${name.key}`;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,4 @@ export class ClusterResourceType extends XdsResourceType {
static cancelWatch(client: XdsClient, name: string, watcher: Watcher<CdsUpdate>) {
client.cancelResourceWatch(ClusterResourceType.get(), name, watcher);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ export class EndpointResourceType extends XdsResourceType {
static cancelWatch(client: XdsClient, name: string, watcher: Watcher<ClusterLoadAssignment__Output>) {
client.cancelResourceWatch(EndpointResourceType.get(), name, watcher);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ export class ListenerResourceType extends XdsResourceType {
static cancelWatch(client: XdsClient, name: string, watcher: Watcher<Listener__Output>) {
client.cancelResourceWatch(ListenerResourceType.get(), name, watcher);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@ export class RouteConfigurationResourceType extends XdsResourceType {
static cancelWatch(client: XdsClient, name: string, watcher: Watcher<RouteConfiguration__Output>) {
client.cancelResourceWatch(RouteConfigurationResourceType.get(), name, watcher);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ export abstract class XdsResourceType {
resourcesEqual(value1: object | null, value2: object | null): boolean {
return deepEqual(value1 as ValueType, value2 as ValueType);
}
}
}
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/test/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ export class XdsTestClient {
}
sendInner(count, callback);
}
}
}
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/test/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,4 @@ export class FakeRouteGroup {
}
}));
}
}
}
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/test/test-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ describe('core xDS functionality', () => {
}, reason => done(reason));
}, reason => done(reason));
});
});
});
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/test/test-federation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@ describe('Federation', () => {
});
});
});
});
});
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/test/test-listener-resource-name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ describe('Listener resource name evaluation', () => {
assert.strictEqual(getListenerResourceName(bootstrap, target), 'xdstp://xds.other.com/envoy.config.listener.v3.Listener/server.other.com');
});
});
});
});
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/test/xds-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,4 @@ export class XdsServer {
}
return JSON.stringify(bootstrapInfo);
}
}
}

0 comments on commit 967f903

Please sign in to comment.