Skip to content

Commit 5e11faa

Browse files
fix: fix imports
1 parent dfcc514 commit 5e11faa

1 file changed

Lines changed: 17 additions & 18 deletions

File tree

  • lambdas/functions/control-plane/src/scale-runners

lambdas/functions/control-plane/src/scale-runners/scale-up.ts

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { publishRetryMessage } from './job-retry';
1212
=======
1313
import {
1414
_InstanceType,
15-
Affinity,
1615
Tenancy,
1716
VolumeType,
1817
CpuManufacturer,
@@ -24,22 +23,22 @@ import {
2423
AcceleratorName,
2524
LocalStorage,
2625
LocalStorageType,
27-
type Placement,
28-
type BaselinePerformanceFactorsRequest,
29-
type FleetEbsBlockDeviceRequest,
30-
type CpuPerformanceFactorRequest,
31-
type PerformanceFactorReferenceRequest,
32-
type FleetBlockDeviceMappingRequest,
33-
type InstanceRequirementsRequest,
34-
type VCpuCountRangeRequest,
35-
type MemoryMiBRequest,
36-
type MemoryGiBPerVCpuRequest,
37-
type AcceleratorCountRequest,
38-
type AcceleratorTotalMemoryMiBRequest,
39-
type NetworkInterfaceCountRequest,
40-
type NetworkBandwidthGbpsRequest,
41-
type TotalLocalStorageGBRequest,
42-
type BaselineEbsBandwidthMbpsRequest,
26+
Placement,
27+
BaselinePerformanceFactorsRequest,
28+
FleetEbsBlockDeviceRequest,
29+
CpuPerformanceFactorRequest,
30+
PerformanceFactorReferenceRequest,
31+
FleetBlockDeviceMappingRequest,
32+
InstanceRequirementsRequest,
33+
VCpuCountRangeRequest,
34+
MemoryMiBRequest,
35+
MemoryGiBPerVCpuRequest,
36+
AcceleratorCountRequest,
37+
AcceleratorTotalMemoryMiBRequest,
38+
NetworkInterfaceCountRequest,
39+
NetworkBandwidthGbpsRequest,
40+
TotalLocalStorageGBRequest,
41+
BaselineEbsBandwidthMbpsRequest,
4342
} from '@aws-sdk/client-ec2';
4443
>>>>>>> 44df86d7 (test: fix test cases)
4544

@@ -870,7 +869,7 @@ async function createJitConfig(
870869
*/
871870
export function parseEc2OverrideConfig(labels: string[]): Ec2OverrideConfig | undefined {
872871
const ec2Labels = labels.filter((l) => l.startsWith('ghr-ec2-'));
873-
const config: Partial<Ec2OverrideConfig> = {};
872+
const config: Ec2OverrideConfig = {};
874873

875874
for (const label of ec2Labels) {
876875
const [key, ...valueParts] = label.replace('ghr-ec2-', '').split(':');

0 commit comments

Comments
 (0)