Skip to content

Commit e457281

Browse files
committed
omit instance type id
1 parent 7877be6 commit e457281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v1/providers/shadeform/instancetype.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (c *ShadeformClient) convertShadeformInstanceTypeToV1InstanceType(shadeform
154154

155155
for _, region := range shadeformInstanceType.Availability {
156156
instanceTypes = append(instanceTypes, v1.InstanceType{
157-
ID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, region.Region)),
157+
// ID: v1.InstanceTypeID(c.getInstanceTypeID(instanceType, region.Region)), // TODO: ID format is very particular within devplane, and will be generated automatically if omitted here
158158
Type: instanceType,
159159
VCPU: shadeformInstanceType.Configuration.Vcpus,
160160
Memory: units.Base2Bytes(shadeformInstanceType.Configuration.MemoryInGb) * units.GiB,

0 commit comments

Comments
 (0)